23 #define SWIG_DIRECTORS
24 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
29 template<
typename T>
class SwigValueWrapper {
30 struct SwigMovePointer {
32 SwigMovePointer(T *p) : ptr(p) { }
33 ~SwigMovePointer() {
delete ptr; }
34 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0;
delete oldptr; ptr = rhs.ptr; rhs.ptr = 0;
return *
this; }
36 SwigValueWrapper& operator=(
const SwigValueWrapper<T>& rhs);
37 SwigValueWrapper(
const SwigValueWrapper<T>& rhs);
39 SwigValueWrapper() : pointer(0) { }
40 SwigValueWrapper& operator=(
const T& t) { SwigMovePointer tmp(
new T(t)); pointer = tmp;
return *
this; }
41 operator T&()
const {
return *pointer.ptr; }
42 T *operator&() {
return pointer.ptr; }
45 template <
typename T> T SwigValueInit() {
56 #ifndef SWIGTEMPLATEDISAMBIGUATOR
57 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
58 # define SWIGTEMPLATEDISAMBIGUATOR template
59 # elif defined(__HP_aCC)
62 # define SWIGTEMPLATEDISAMBIGUATOR template
64 # define SWIGTEMPLATEDISAMBIGUATOR
70 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
71 # define SWIGINLINE inline
79 # if defined(__GNUC__)
80 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
81 # define SWIGUNUSED __attribute__ ((__unused__))
86 # define SWIGUNUSED __attribute__ ((__unused__))
92 #ifndef SWIG_MSC_UNSUPPRESS_4505
93 # if defined(_MSC_VER)
94 # pragma warning(disable : 4505)
98 #ifndef SWIGUNUSEDPARM
100 # define SWIGUNUSEDPARM(p)
102 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
108 # define SWIGINTERN static SWIGUNUSED
112 #ifndef SWIGINTERNINLINE
113 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
117 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
118 # ifndef GCC_HASCLASSVISIBILITY
119 # define GCC_HASCLASSVISIBILITY
124 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
125 # if defined(STATIC_LINKED)
128 # define SWIGEXPORT __declspec(dllexport)
131 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
132 # define SWIGEXPORT __attribute__ ((visibility("default")))
141 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
142 # define SWIGSTDCALL __stdcall
149 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
150 # define _CRT_SECURE_NO_DEPRECATE
154 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
155 # define _SCL_SECURE_NO_DEPRECATE
159 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
160 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
168 #ifdef __INTEL_COMPILER
169 # pragma warning disable 592
173 #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG)
191 #define SWIG_RUNTIME_VERSION "4"
194 #ifdef SWIG_TYPE_TABLE
195 # define SWIG_QUOTE_STRING(x) #x
196 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
197 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
199 # define SWIG_TYPE_TABLE_NAME
212 # define SWIGRUNTIME SWIGINTERN
215 #ifndef SWIGRUNTIMEINLINE
216 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
220 #ifndef SWIG_BUFFER_SIZE
221 # define SWIG_BUFFER_SIZE 1024
225 #define SWIG_POINTER_DISOWN 0x1
226 #define SWIG_CAST_NEW_MEMORY 0x2
229 #define SWIG_POINTER_OWN 0x1
312 #define SWIG_ERROR (-1)
313 #define SWIG_IsOK(r) (r >= 0)
314 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
317 #define SWIG_CASTRANKLIMIT (1 << 8)
319 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
321 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
323 #define SWIG_BADOBJ (SWIG_ERROR)
324 #define SWIG_OLDOBJ (SWIG_OK)
325 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
326 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
328 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
329 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
330 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
331 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
332 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
333 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
336 #if defined(SWIG_CASTRANK_MODE)
337 # ifndef SWIG_TypeRank
338 # define SWIG_TypeRank unsigned long
340 # ifndef SWIG_MAXCASTRANK
341 # define SWIG_MAXCASTRANK (2)
343 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
344 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
345 SWIGINTERNINLINE
int SWIG_AddCast(
int r) {
346 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
348 SWIGINTERNINLINE
int SWIG_CheckState(
int r) {
349 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
352 # define SWIG_AddCast(r) (r)
353 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
363 typedef void *(*swig_converter_func)(
void *,
int *);
370 swig_dycast_func dcast;
379 swig_converter_func converter;
404 SWIG_TypeNameComp(
const char *f1,
const char *l1,
405 const char *f2,
const char *l2) {
406 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
407 while ((*f1 ==
' ') && (f1 != l1)) ++f1;
408 while ((*f2 ==
' ') && (f2 != l2)) ++f2;
409 if (*f1 != *f2)
return (*f1 > *f2) ? 1 : -1;
411 return (
int)((l1 - f1) - (l2 - f2));
419 SWIG_TypeCmp(
const char *nb,
const char *tb) {
421 const char* te = tb + strlen(tb);
423 while (equiv != 0 && *ne) {
424 for (nb = ne; *ne; ++ne) {
425 if (*ne ==
'|')
break;
427 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
438 SWIG_TypeEquiv(
const char *nb,
const char *tb) {
439 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
450 if (strcmp(iter->type->name, c) == 0) {
451 if (iter == ty->cast)
454 iter->prev->next = iter->next;
456 iter->next->prev = iter->prev;
457 iter->next = ty->cast;
459 if (ty->cast) ty->cast->prev = iter;
477 if (iter->type == from) {
478 if (iter == ty->cast)
481 iter->prev->next = iter->next;
483 iter->next->prev = iter->prev;
484 iter->next = ty->cast;
486 if (ty->cast) ty->cast->prev = iter;
499 SWIGRUNTIMEINLINE
void *
501 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
510 if (!ty || !ty->dcast)
return ty;
511 while (ty && (ty->dcast)) {
512 ty = (*ty->dcast)(ptr);
521 SWIGRUNTIMEINLINE
const char *
530 SWIGRUNTIME
const char *
536 if (!type)
return NULL;
537 if (type->str != NULL) {
538 const char *last_name = type->str;
540 for (s = type->str; *s; s++)
541 if (*s ==
'|') last_name = s+1;
555 ti->clientdata = clientdata;
558 if (!cast->converter) {
560 if (!tc->clientdata) {
561 SWIG_TypeClientData(tc, clientdata);
569 SWIG_TypeClientData(ti, clientdata);
589 size_t r = iter->size - 1;
592 size_t i = (l + r) >> 1;
593 const char *iname = iter->types[i]->name;
595 int compare = strcmp(name, iname);
597 return iter->types[i];
598 }
else if (compare < 0) {
604 }
else if (compare > 0) {
613 }
while (iter != end);
631 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
640 for (; i < iter->size; ++i) {
641 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
642 return iter->types[i];
645 }
while (iter != end);
656 SWIG_PackData(
char *c,
void *ptr,
size_t sz) {
657 static const char hex[17] =
"0123456789abcdef";
658 const unsigned char *u = (
unsigned char *) ptr;
659 const unsigned char *eu = u + sz;
660 for (; u != eu; ++u) {
661 unsigned char uu = *u;
662 *(c++) = hex[(uu & 0xf0) >> 4];
663 *(c++) = hex[uu & 0xf];
671 SWIGRUNTIME
const char *
672 SWIG_UnpackData(
const char *c,
void *ptr,
size_t sz) {
673 unsigned char *u = (
unsigned char *) ptr;
674 const unsigned char *eu = u + sz;
675 for (; u != eu; ++u) {
678 if ((d >=
'0') && (d <=
'9'))
679 uu = ((d -
'0') << 4);
680 else if ((d >=
'a') && (d <=
'f'))
681 uu = ((d - (
'a'-10)) << 4);
685 if ((d >=
'0') && (d <=
'9'))
687 else if ((d >=
'a') && (d <=
'f'))
688 uu |= (d - (
'a'-10));
700 SWIG_PackVoidPtr(
char *buff,
void *ptr,
const char *name,
size_t bsz) {
702 if ((2*
sizeof(
void *) + 2) > bsz)
return 0;
704 r = SWIG_PackData(r,&ptr,
sizeof(
void *));
705 if (strlen(name) + 1 > (bsz - (r - buff)))
return 0;
710 SWIGRUNTIME
const char *
711 SWIG_UnpackVoidPtr(
const char *c,
void **ptr,
const char *name) {
713 if (strcmp(c,
"NULL") == 0) {
720 return SWIG_UnpackData(++c,ptr,
sizeof(
void *));
724 SWIG_PackDataName(
char *buff,
void *ptr,
size_t sz,
const char *name,
size_t bsz) {
726 size_t lname = (name ? strlen(name) : 0);
727 if ((2*sz + 2 + lname) > bsz)
return 0;
729 r = SWIG_PackData(r,ptr,sz);
731 strncpy(r,name,lname+1);
738 SWIGRUNTIME
const char *
739 SWIG_UnpackDataName(
const char *c,
void *ptr,
size_t sz,
const char *name) {
741 if (strcmp(c,
"NULL") == 0) {
748 return SWIG_UnpackData(++c,ptr,sz);
756 #define SWIG_UnknownError -1
757 #define SWIG_IOError -2
758 #define SWIG_RuntimeError -3
759 #define SWIG_IndexError -4
760 #define SWIG_TypeError -5
761 #define SWIG_DivisionByZero -6
762 #define SWIG_OverflowError -7
763 #define SWIG_SyntaxError -8
764 #define SWIG_ValueError -9
765 #define SWIG_SystemError -10
766 #define SWIG_AttributeError -11
767 #define SWIG_MemoryError -12
768 #define SWIG_NullReferenceError -13
773 #if PY_VERSION_HEX >= 0x03000000
775 #define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
776 #define PyInt_Check(x) PyLong_Check(x)
777 #define PyInt_AsLong(x) PyLong_AsLong(x)
778 #define PyInt_FromLong(x) PyLong_FromLong(x)
779 #define PyInt_FromSize_t(x) PyLong_FromSize_t(x)
780 #define PyString_Check(name) PyBytes_Check(name)
781 #define PyString_FromString(x) PyUnicode_FromString(x)
782 #define PyString_Format(fmt, args) PyUnicode_Format(fmt, args)
783 #define PyString_AsString(str) PyBytes_AsString(str)
784 #define PyString_Size(str) PyBytes_Size(str)
785 #define PyString_InternFromString(key) PyUnicode_InternFromString(key)
786 #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE
787 #define PyString_AS_STRING(x) PyUnicode_AS_STRING(x)
788 #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x)
793 # define Py_TYPE(op) ((op)->ob_type)
798 #if PY_VERSION_HEX >= 0x03000000
799 # define SWIG_Python_str_FromFormat PyUnicode_FromFormat
801 # define SWIG_Python_str_FromFormat PyString_FromFormat
809 SWIG_Python_str_AsChar(PyObject *str)
811 #if PY_VERSION_HEX >= 0x03000000
815 str = PyUnicode_AsUTF8String(str);
816 PyBytes_AsStringAndSize(str, &cstr, &len);
817 newstr = (
char *) malloc(len+1);
818 memcpy(newstr, cstr, len+1);
822 return PyString_AsString(str);
826 #if PY_VERSION_HEX >= 0x03000000
827 # define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
829 # define SWIG_Python_str_DelForPy3(x)
834 SWIG_Python_str_FromChar(
const char *c)
836 #if PY_VERSION_HEX >= 0x03000000
837 return PyUnicode_FromString(c);
839 return PyString_FromString(c);
844 #if PY_VERSION_HEX < 0x02020000
845 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
846 # define PyOS_snprintf _snprintf
848 # define PyOS_snprintf snprintf
853 #if PY_VERSION_HEX < 0x02020000
855 #ifndef SWIG_PYBUFFER_SIZE
856 # define SWIG_PYBUFFER_SIZE 1024
860 PyString_FromFormat(
const char *fmt, ...) {
862 char buf[SWIG_PYBUFFER_SIZE * 2];
865 res = vsnprintf(buf,
sizeof(buf), fmt, ap);
867 return (res < 0 || res >= (
int)
sizeof(buf)) ? 0 : PyString_FromString(buf);
872 #if PY_VERSION_HEX < 0x01060000
873 # define PyObject_Del(op) PyMem_DEL((op))
876 # define PyObject_DEL PyObject_Del
880 #if PY_VERSION_HEX < 0x02020000
881 # ifndef PyExc_StopIteration
882 # define PyExc_StopIteration PyExc_RuntimeError
884 # ifndef PyObject_GenericGetAttr
885 # define PyObject_GenericGetAttr 0
890 #if PY_VERSION_HEX < 0x02010000
891 # ifndef Py_NotImplemented
892 # define Py_NotImplemented PyExc_RuntimeError
897 #if PY_VERSION_HEX < 0x02010000
898 # ifndef PyString_AsStringAndSize
899 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
904 #if PY_VERSION_HEX < 0x02000000
905 # ifndef PySequence_Size
906 # define PySequence_Size PySequence_Length
911 #if PY_VERSION_HEX < 0x02030000
913 PyObject *PyBool_FromLong(
long ok)
915 PyObject *result = ok ? Py_True : Py_False;
924 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
925 typedef int Py_ssize_t;
926 # define PY_SSIZE_T_MAX INT_MAX
927 # define PY_SSIZE_T_MIN INT_MIN
928 typedef inquiry lenfunc;
929 typedef intargfunc ssizeargfunc;
930 typedef intintargfunc ssizessizeargfunc;
931 typedef intobjargproc ssizeobjargproc;
932 typedef intintobjargproc ssizessizeobjargproc;
933 typedef getreadbufferproc readbufferproc;
934 typedef getwritebufferproc writebufferproc;
935 typedef getsegcountproc segcountproc;
936 typedef getcharbufferproc charbufferproc;
937 static long PyNumber_AsSsize_t (PyObject *x,
void *SWIGUNUSEDPARM(exc))
940 PyObject *i = PyNumber_Int(x);
942 result = PyInt_AsLong(i);
949 #if PY_VERSION_HEX < 0x02050000
950 #define PyInt_FromSize_t(x) PyInt_FromLong((long)x)
953 #if PY_VERSION_HEX < 0x02040000
954 #define Py_VISIT(op) \
957 int vret = visit((op), arg); \
964 #if PY_VERSION_HEX < 0x02030000
967 PyNumberMethods as_number;
968 PyMappingMethods as_mapping;
969 PySequenceMethods as_sequence;
970 PyBufferProcs as_buffer;
971 PyObject *name, *slots;
975 #if PY_VERSION_HEX < 0x02030000
976 typedef destructor freefunc;
979 #if ((PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION > 6) || \
980 (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 0) || \
981 (PY_MAJOR_VERSION > 3))
982 # define SWIGPY_USE_CAPSULE
983 # define SWIGPY_CAPSULE_NAME ((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME)
986 #if PY_VERSION_HEX < 0x03020000
987 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
988 #define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
995 SWIGRUNTIME PyObject*
996 SWIG_Python_ErrorType(
int code) {
999 case SWIG_MemoryError:
1000 type = PyExc_MemoryError;
1003 type = PyExc_IOError;
1005 case SWIG_RuntimeError:
1006 type = PyExc_RuntimeError;
1008 case SWIG_IndexError:
1009 type = PyExc_IndexError;
1011 case SWIG_TypeError:
1012 type = PyExc_TypeError;
1014 case SWIG_DivisionByZero:
1015 type = PyExc_ZeroDivisionError;
1017 case SWIG_OverflowError:
1018 type = PyExc_OverflowError;
1020 case SWIG_SyntaxError:
1021 type = PyExc_SyntaxError;
1023 case SWIG_ValueError:
1024 type = PyExc_ValueError;
1026 case SWIG_SystemError:
1027 type = PyExc_SystemError;
1029 case SWIG_AttributeError:
1030 type = PyExc_AttributeError;
1033 type = PyExc_RuntimeError;
1040 SWIG_Python_AddErrorMsg(
const char* mesg)
1043 PyObject *value = 0;
1044 PyObject *traceback = 0;
1046 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
1049 PyObject *old_str = PyObject_Str(value);
1053 PyErr_Format(type,
"%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
1054 SWIG_Python_str_DelForPy3(tmp);
1058 PyErr_SetString(PyExc_RuntimeError, mesg);
1062 #if defined(SWIG_PYTHON_NO_THREADS)
1063 # if defined(SWIG_PYTHON_THREADS)
1064 # undef SWIG_PYTHON_THREADS
1067 #if defined(SWIG_PYTHON_THREADS)
1068 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
1069 # if (PY_VERSION_HEX >= 0x02030000)
1070 # define SWIG_PYTHON_USE_GIL
1073 # if defined(SWIG_PYTHON_USE_GIL)
1074 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
1075 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
1078 class SWIG_Python_Thread_Block {
1080 PyGILState_STATE state;
1082 void end() {
if (status) { PyGILState_Release(state); status =
false;} }
1083 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
1084 ~SWIG_Python_Thread_Block() { end(); }
1086 class SWIG_Python_Thread_Allow {
1088 PyThreadState *save;
1090 void end() {
if (status) { PyEval_RestoreThread(save); status =
false; }}
1091 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
1092 ~SWIG_Python_Thread_Allow() { end(); }
1094 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
1095 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
1096 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
1097 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
1099 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
1100 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
1101 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
1102 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
1105 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
1106 # define SWIG_PYTHON_INITIALIZE_THREADS
1108 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
1109 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1111 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
1112 # define SWIG_PYTHON_THREAD_END_BLOCK
1114 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
1115 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1117 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
1118 # define SWIG_PYTHON_THREAD_END_ALLOW
1122 # define SWIG_PYTHON_INITIALIZE_THREADS
1123 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
1124 # define SWIG_PYTHON_THREAD_END_BLOCK
1125 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
1126 # define SWIG_PYTHON_THREAD_END_ALLOW
1142 #define SWIG_PY_POINTER 4
1143 #define SWIG_PY_BINARY 5
1160 #if PY_VERSION_HEX >= 0x03000000
1161 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(
self), PyObject *func)
1163 return PyInstanceMethod_New(func);
1166 SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(
self), PyObject *SWIGUNUSEDPARM(func))
1189 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
1190 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
1191 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
1193 #ifdef SWIGPYTHON_BUILTIN
1194 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(self, ptr, type, flags)
1196 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1199 #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
1201 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
1202 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
1203 #define swig_owntype int
1206 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1207 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1210 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1211 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1214 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1215 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(NULL, ptr, type, 0)
1218 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1219 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1224 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule(clientdata)
1225 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1226 #define SWIG_NewClientData(obj) SwigPyClientData_New(obj)
1228 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1229 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1230 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1231 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1232 #define SWIG_fail goto fail
1240 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1241 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1242 PyErr_SetObject(errtype, obj);
1244 SWIG_PYTHON_THREAD_END_BLOCK;
1248 SWIG_Python_SetErrorMsg(PyObject *errtype,
const char *msg) {
1249 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1250 PyErr_SetString(errtype, msg);
1251 SWIG_PYTHON_THREAD_END_BLOCK;
1254 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1258 #if defined(SWIGPYTHON_BUILTIN)
1261 SwigPyBuiltin_AddPublicSymbol(PyObject *seq,
const char *key) {
1262 PyObject *s = PyString_InternFromString(key);
1263 PyList_Append(seq, s);
1268 SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface,
const char *name, PyObject *obj) {
1269 #if PY_VERSION_HEX < 0x02030000
1270 PyDict_SetItemString(d, (
char *)name, obj);
1272 PyDict_SetItemString(d, name, obj);
1275 if (public_interface)
1276 SwigPyBuiltin_AddPublicSymbol(public_interface, name);
1282 SWIG_Python_SetConstant(PyObject *d,
const char *name, PyObject *obj) {
1283 #if PY_VERSION_HEX < 0x02030000
1284 PyDict_SetItemString(d, (
char *)name, obj);
1286 PyDict_SetItemString(d, name, obj);
1295 SWIGINTERN PyObject*
1296 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1297 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1300 }
else if (result == Py_None) {
1304 if (!PyList_Check(result)) {
1305 PyObject *o2 = result;
1306 result = PyList_New(1);
1307 PyList_SetItem(result, 0, o2);
1309 PyList_Append(result,obj);
1318 }
else if (result == Py_None) {
1322 if (!PyTuple_Check(result)) {
1324 result = PyTuple_New(1);
1325 PyTuple_SET_ITEM(result, 0, o2);
1327 o3 = PyTuple_New(1);
1328 PyTuple_SET_ITEM(o3, 0, obj);
1330 result = PySequence_Concat(o2, o3);
1340 SWIGINTERN Py_ssize_t
1341 SWIG_Python_UnpackTuple(PyObject *args,
const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs)
1347 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got none",
1348 name, (min == max ?
"" :
"at least "), (
int)min);
1352 if (!PyTuple_Check(args)) {
1353 if (min <= 1 && max >= 1) {
1356 for (i = 1; i < max; ++i) {
1361 PyErr_SetString(PyExc_SystemError,
"UnpackTuple() argument list is not a tuple");
1364 Py_ssize_t l = PyTuple_GET_SIZE(args);
1366 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1367 name, (min == max ?
"" :
"at least "), (
int)min, (
int)l);
1369 }
else if (l > max) {
1370 PyErr_Format(PyExc_TypeError,
"%s expected %s%d arguments, got %d",
1371 name, (min == max ?
"" :
"at most "), (
int)max, (
int)l);
1375 for (i = 0; i < l; ++i) {
1376 objs[i] = PyTuple_GET_ITEM(args, i);
1378 for (; l < max; ++l) {
1387 #if PY_VERSION_HEX >= 0x02020000
1388 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1390 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1398 #define SWIG_STATIC_POINTER(var) var
1400 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1408 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1409 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1411 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1413 #define SWIG_BUILTIN_TP_INIT (SWIG_POINTER_OWN << 2)
1414 #define SWIG_BUILTIN_INIT (SWIG_BUILTIN_TP_INIT | SWIG_POINTER_OWN)
1421 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1422 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1423 # ifndef SWIG_PYTHON_BUILD_NONE
1424 # define SWIG_PYTHON_BUILD_NONE
1429 #ifdef SWIG_PYTHON_BUILD_NONE
1432 # define Py_None SWIG_Py_None()
1434 SWIGRUNTIMEINLINE PyObject *
1437 PyObject *none = Py_BuildValue((
char*)
"");
1441 SWIGRUNTIME PyObject *
1444 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1451 SWIGRUNTIMEINLINE PyObject *
1454 PyObject *none = Py_None;
1468 PyTypeObject *pytype;
1471 SWIGRUNTIMEINLINE
int
1475 return data ? data->implicitconv : 0;
1478 SWIGRUNTIMEINLINE PyObject *
1481 PyObject *klass = data ? data->klass : 0;
1482 return (klass ? klass : PyExc_RuntimeError);
1487 SwigPyClientData_New(PyObject* obj)
1495 Py_INCREF(data->klass);
1497 if (PyClass_Check(obj)) {
1499 data->newargs = obj;
1502 #if (PY_VERSION_HEX < 0x02020000)
1505 data->newraw = PyObject_GetAttrString(data->klass, (
char *)
"__new__");
1508 Py_INCREF(data->newraw);
1509 data->newargs = PyTuple_New(1);
1510 PyTuple_SetItem(data->newargs, 0, obj);
1512 data->newargs = obj;
1514 Py_INCREF(data->newargs);
1517 data->destroy = PyObject_GetAttrString(data->klass, (
char *)
"__swig_destroy__");
1518 if (PyErr_Occurred()) {
1522 if (data->destroy) {
1524 Py_INCREF(data->destroy);
1525 flags = PyCFunction_GET_FLAGS(data->destroy);
1527 data->delargs = !(flags & (METH_O));
1534 data->implicitconv = 0;
1542 Py_XDECREF(data->newraw);
1543 Py_XDECREF(data->newargs);
1544 Py_XDECREF(data->destroy);
1555 #ifdef SWIGPYTHON_BUILTIN
1561 #ifdef SWIGPYTHON_BUILTIN
1563 SWIGRUNTIME PyObject *
1564 SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args))
1569 sobj->dict = PyDict_New();
1571 Py_INCREF(sobj->dict);
1577 SWIGRUNTIME PyObject *
1580 return PyLong_FromVoidPtr(v->ptr);
1583 SWIGRUNTIME PyObject *
1586 PyObject *res = NULL;
1587 PyObject *args = PyTuple_New(1);
1589 if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
1590 PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
1592 #if PY_VERSION_HEX >= 0x03000000
1593 res = PyUnicode_Format(ofmt,args);
1595 res = PyString_Format(ofmt,args);
1605 SWIGRUNTIME PyObject *
1608 return SwigPyObject_format(
"%o",v);
1611 SWIGRUNTIME PyObject *
1614 return SwigPyObject_format(
"%x",v);
1617 SWIGRUNTIME PyObject *
1624 const char *name = SWIG_TypePrettyName(v->ty);
1625 PyObject *repr = SWIG_Python_str_FromFormat(
"<Swig Object of type '%s' at %p>", (name ? name :
"unknown"), (
void *)v);
1628 PyObject *nrep = SwigPyObject_repr((
SwigPyObject *)v->next);
1630 PyObject *nrep = SwigPyObject_repr((
SwigPyObject *)v->next, args);
1632 # if PY_VERSION_HEX >= 0x03000000
1633 PyObject *joined = PyUnicode_Concat(repr, nrep);
1638 PyString_ConcatAndDel(&repr,nrep);
1649 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1653 SWIGRUNTIME PyObject*
1657 if( op != Py_EQ && op != Py_NE ) {
1658 Py_INCREF(Py_NotImplemented);
1659 return Py_NotImplemented;
1661 res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0);
1666 SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(
void);
1668 #ifdef SWIGPYTHON_BUILTIN
1670 SWIGRUNTIME PyTypeObject*
1671 SwigPyObject_type(
void) {
1673 assert(SwigPyObject_stype);
1680 SWIGRUNTIME PyTypeObject*
1681 SwigPyObject_type(
void) {
1682 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyObject_TypeOnce();
1687 SWIGRUNTIMEINLINE
int
1688 SwigPyObject_Check(PyObject *op) {
1689 #ifdef SWIGPYTHON_BUILTIN
1690 PyTypeObject *target_tp = SwigPyObject_type();
1691 if (PyType_IsSubtype(op->ob_type, target_tp))
1693 return (strcmp(op->ob_type->tp_name,
"SwigPyObject") == 0);
1695 return (Py_TYPE(op) == SwigPyObject_type())
1696 || (strcmp(Py_TYPE(op)->tp_name,
"SwigPyObject") == 0);
1700 SWIGRUNTIME PyObject *
1704 SwigPyObject_dealloc(PyObject *v)
1707 PyObject *next = sobj->next;
1708 if (sobj->own == SWIG_POINTER_OWN) {
1711 PyObject *destroy = data ? data->destroy : 0;
1723 PyObject *val = NULL, *type = NULL, *tb = NULL;
1724 PyErr_Fetch(&val, &type, &tb);
1726 if (data->delargs) {
1728 PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0);
1729 res = SWIG_Python_CallFunctor(destroy, tmp);
1732 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1733 PyObject *mself = PyCFunction_GET_SELF(destroy);
1734 res = ((*meth)(mself, v));
1737 PyErr_WriteUnraisable(destroy);
1739 PyErr_Restore(val, type, tb);
1743 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1745 const char *name = SWIG_TypePrettyName(ty);
1746 printf(
"swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name :
"unknown"));
1754 SWIGRUNTIME PyObject*
1755 SwigPyObject_append(PyObject* v, PyObject* next)
1760 if (!PyArg_ParseTuple(next,(
char *)
"O:append", &tmp))
return NULL;
1763 if (!SwigPyObject_Check(next)) {
1764 PyErr_SetString(PyExc_TypeError,
"Attempt to append a non SwigPyObject");
1769 return SWIG_Py_Void();
1772 SWIGRUNTIME PyObject*
1774 SwigPyObject_next(PyObject* v)
1776 SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1781 Py_INCREF(sobj->next);
1784 return SWIG_Py_Void();
1788 SWIGINTERN PyObject*
1790 SwigPyObject_disown(PyObject *v)
1792 SwigPyObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1797 return SWIG_Py_Void();
1800 SWIGINTERN PyObject*
1802 SwigPyObject_acquire(PyObject *v)
1804 SwigPyObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1808 sobj->own = SWIG_POINTER_OWN;
1809 return SWIG_Py_Void();
1812 SWIGINTERN PyObject*
1813 SwigPyObject_own(PyObject *v, PyObject *args)
1816 #if (PY_VERSION_HEX < 0x02020000)
1817 if (!PyArg_ParseTuple(args,(
char *)
"|O:own",&val))
1818 #elif (PY_VERSION_HEX < 0x02050000)
1819 if (!PyArg_UnpackTuple(args, (
char *)
"own", 0, 1, &val))
1821 if (!PyArg_UnpackTuple(args,
"own", 0, 1, &val))
1829 PyObject *obj = PyBool_FromLong(sobj->own);
1832 if (PyObject_IsTrue(val)) {
1833 SwigPyObject_acquire(v);
1835 SwigPyObject_disown(v);
1838 if (PyObject_IsTrue(val)) {
1839 SwigPyObject_acquire(v,args);
1841 SwigPyObject_disown(v,args);
1851 swigobject_methods[] = {
1852 {(
char *)
"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (
char *)
"releases ownership of the pointer"},
1853 {(
char *)
"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS, (
char *)
"acquires ownership of the pointer"},
1854 {(
char *)
"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1855 {(
char *)
"append", (PyCFunction)SwigPyObject_append, METH_O, (
char *)
"appends another 'this' object"},
1856 {(
char *)
"next", (PyCFunction)SwigPyObject_next, METH_NOARGS, (
char *)
"returns the next 'this' object"},
1857 {(
char *)
"__repr__",(PyCFunction)SwigPyObject_repr, METH_NOARGS, (
char *)
"returns object representation"},
1862 swigobject_methods[] = {
1863 {(
char *)
"disown", (PyCFunction)SwigPyObject_disown, METH_VARARGS, (
char *)
"releases ownership of the pointer"},
1864 {(
char *)
"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS, (
char *)
"acquires ownership of the pointer"},
1865 {(
char *)
"own", (PyCFunction)SwigPyObject_own, METH_VARARGS, (
char *)
"returns/sets ownership of the pointer"},
1866 {(
char *)
"append", (PyCFunction)SwigPyObject_append, METH_VARARGS, (
char *)
"appends another 'this' object"},
1867 {(
char *)
"next", (PyCFunction)SwigPyObject_next, METH_VARARGS, (
char *)
"returns the next 'this' object"},
1868 {(
char *)
"__repr__",(PyCFunction)SwigPyObject_repr, METH_VARARGS, (
char *)
"returns object representation"},
1873 #if PY_VERSION_HEX < 0x02020000
1874 SWIGINTERN PyObject *
1877 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1881 SWIGRUNTIME PyTypeObject*
1882 SwigPyObject_TypeOnce(
void) {
1883 static char swigobject_doc[] =
"Swig object carries a C/C++ instance pointer";
1885 static PyNumberMethods SwigPyObject_as_number = {
1890 #
if PY_VERSION_HEX < 0x03000000
1906 #
if PY_VERSION_HEX < 0x03000000
1909 (unaryfunc)SwigPyObject_long,
1910 #if PY_VERSION_HEX < 0x03000000
1911 (unaryfunc)SwigPyObject_long,
1916 #if PY_VERSION_HEX < 0x03000000
1917 (unaryfunc)SwigPyObject_oct,
1918 (unaryfunc)SwigPyObject_hex,
1920 #if PY_VERSION_HEX >= 0x03050000
1921 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1922 #elif PY_VERSION_HEX >= 0x03000000
1923 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1924 #elif PY_VERSION_HEX >= 0x02050000
1925 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1926 #elif PY_VERSION_HEX >= 0x02020000
1927 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
1928 #elif PY_VERSION_HEX >= 0x02000000
1929 0,0,0,0,0,0,0,0,0,0,0
1933 static PyTypeObject swigpyobject_type;
1934 static int type_init = 0;
1936 const PyTypeObject tmp = {
1938 #if PY_VERSION_HEX >= 0x03000000
1939 PyVarObject_HEAD_INIT(NULL, 0)
1941 PyObject_HEAD_INIT(NULL)
1944 (
char *)
"SwigPyObject",
1947 (destructor)SwigPyObject_dealloc,
1949 #
if PY_VERSION_HEX < 0x02020000
1950 (getattrfunc)SwigPyObject_getattr,
1955 #if PY_VERSION_HEX >= 0x03000000
1958 (cmpfunc)SwigPyObject_compare,
1960 (reprfunc)SwigPyObject_repr,
1961 &SwigPyObject_as_number,
1967 PyObject_GenericGetAttr,
1974 (richcmpfunc)SwigPyObject_richcompare,
1976 #
if PY_VERSION_HEX >= 0x02020000
1998 #
if PY_VERSION_HEX >= 0x02030000
2001 #
if PY_VERSION_HEX >= 0x02060000
2004 #
if PY_VERSION_HEX >= 0x03040000
2011 #
if PY_VERSION_HEX >= 0x02050000
2017 swigpyobject_type = tmp;
2019 #if PY_VERSION_HEX < 0x02020000
2020 swigpyobject_type.ob_type = &PyType_Type;
2022 if (PyType_Ready(&swigpyobject_type) < 0)
2026 return &swigpyobject_type;
2029 SWIGRUNTIME PyObject *
2039 return (PyObject *)sobj;
2054 SwigPyPacked_print(
SwigPyPacked *v, FILE *fp,
int SWIGUNUSEDPARM(flags))
2056 char result[SWIG_BUFFER_SIZE];
2057 fputs(
"<Swig Packed ", fp);
2058 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))) {
2062 fputs(v->ty->name,fp);
2067 SWIGRUNTIME PyObject *
2070 char result[SWIG_BUFFER_SIZE];
2071 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))) {
2072 return SWIG_Python_str_FromFormat(
"<Swig Packed at %s%s>", result, v->ty->name);
2074 return SWIG_Python_str_FromFormat(
"<Swig Packed %s>", v->ty->name);
2078 SWIGRUNTIME PyObject *
2081 char result[SWIG_BUFFER_SIZE];
2082 if (SWIG_PackDataName(result, v->pack, v->size, 0,
sizeof(result))){
2083 return SWIG_Python_str_FromFormat(
"%s%s", result, v->ty->name);
2085 return SWIG_Python_str_FromChar(v->ty->name);
2094 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
2095 return s ? s : strncmp((
char *)v->pack, (
char *)w->pack, 2*v->size);
2098 SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(
void);
2100 SWIGRUNTIME PyTypeObject*
2101 SwigPyPacked_type(
void) {
2102 static PyTypeObject *SWIG_STATIC_POINTER(type) = SwigPyPacked_TypeOnce();
2106 SWIGRUNTIMEINLINE
int
2107 SwigPyPacked_Check(PyObject *op) {
2108 return ((op)->ob_type == SwigPyPacked_TypeOnce())
2109 || (strcmp((op)->ob_type->tp_name,
"SwigPyPacked") == 0);
2113 SwigPyPacked_dealloc(PyObject *v)
2115 if (SwigPyPacked_Check(v)) {
2122 SWIGRUNTIME PyTypeObject*
2123 SwigPyPacked_TypeOnce(
void) {
2124 static char swigpacked_doc[] =
"Swig object carries a C/C++ instance pointer";
2125 static PyTypeObject swigpypacked_type;
2126 static int type_init = 0;
2128 const PyTypeObject tmp = {
2130 #if PY_VERSION_HEX>=0x03000000
2131 PyVarObject_HEAD_INIT(NULL, 0)
2133 PyObject_HEAD_INIT(NULL)
2136 (
char *)
"SwigPyPacked",
2139 (destructor)SwigPyPacked_dealloc,
2140 (printfunc)SwigPyPacked_print,
2143 #if PY_VERSION_HEX>=0x03000000
2146 (cmpfunc)SwigPyPacked_compare,
2148 (reprfunc)SwigPyPacked_repr,
2154 (reprfunc)SwigPyPacked_str,
2155 PyObject_GenericGetAttr,
2164 #
if PY_VERSION_HEX >= 0x02020000
2186 #
if PY_VERSION_HEX >= 0x02030000
2189 #
if PY_VERSION_HEX >= 0x02060000
2192 #
if PY_VERSION_HEX >= 0x03040000
2199 #
if PY_VERSION_HEX >= 0x02050000
2205 swigpypacked_type = tmp;
2207 #if PY_VERSION_HEX < 0x02020000
2208 swigpypacked_type.ob_type = &PyType_Type;
2210 if (PyType_Ready(&swigpypacked_type) < 0)
2214 return &swigpypacked_type;
2217 SWIGRUNTIME PyObject *
2222 void *pack = malloc(size);
2224 memcpy(pack, ptr, size);
2229 PyObject_DEL((PyObject *) sobj);
2233 return (PyObject *) sobj;
2237 SwigPyPacked_UnpackData(PyObject *obj,
void *ptr,
size_t size)
2239 if (SwigPyPacked_Check(obj)) {
2241 if (sobj->size != size)
return 0;
2242 memcpy(ptr, sobj->pack, size);
2253 SWIGRUNTIMEINLINE PyObject *
2256 return SWIG_Python_str_FromChar(
"this");
2259 static PyObject *swig_this = NULL;
2261 SWIGRUNTIME PyObject *
2264 if (swig_this == NULL)
2265 swig_this = _SWIG_This();
2272 #if PY_VERSION_HEX>=0x03000000
2273 #define SWIG_PYTHON_SLOW_GETSET_THIS
2277 SWIG_Python_GetSwigThis(PyObject *pyobj)
2281 if (SwigPyObject_Check(pyobj))
2284 #ifdef SWIGPYTHON_BUILTIN
2286 # ifdef PyWeakref_CheckProxy
2287 if (PyWeakref_CheckProxy(pyobj)) {
2288 pyobj = PyWeakref_GET_OBJECT(pyobj);
2289 if (pyobj && SwigPyObject_Check(pyobj))
2298 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
2299 if (PyInstance_Check(pyobj)) {
2300 obj = _PyInstance_Lookup(pyobj, SWIG_This());
2302 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
2303 if (dictptr != NULL) {
2304 PyObject *dict = *dictptr;
2305 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
2307 #ifdef PyWeakref_CheckProxy
2308 if (PyWeakref_CheckProxy(pyobj)) {
2309 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
2310 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
2313 obj = PyObject_GetAttr(pyobj,SWIG_This());
2317 if (PyErr_Occurred()) PyErr_Clear();
2323 obj = PyObject_GetAttr(pyobj,SWIG_This());
2327 if (PyErr_Occurred()) PyErr_Clear();
2331 if (obj && !SwigPyObject_Check(obj)) {
2334 return SWIG_Python_GetSwigThis(obj);
2343 SWIG_Python_AcquirePtr(PyObject *obj,
int own) {
2344 if (own == SWIG_POINTER_OWN) {
2347 int oldown = sobj->own;
2358 SWIG_Python_ConvertPtrAndOwn(PyObject *obj,
void **ptr,
swig_type_info *ty,
int flags,
int *own) {
2361 int implicit_conv = (flags & SWIG_POINTER_IMPLICIT_CONV) != 0;
2365 if (obj == Py_None && !implicit_conv) {
2373 sobj = SWIG_Python_GetSwigThis(obj);
2377 void *vptr = sobj->ptr;
2382 if (ptr) *ptr = vptr;
2391 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2392 if (newmemory == SWIG_CAST_NEW_MEMORY) {
2395 *own = *own | SWIG_CAST_NEW_MEMORY;
2402 if (ptr) *ptr = vptr;
2408 *own = *own | sobj->own;
2409 if (flags & SWIG_POINTER_DISOWN) {
2414 if (implicit_conv) {
2416 if (data && !data->implicitconv) {
2417 PyObject *klass = data->klass;
2420 data->implicitconv = 1;
2421 impconv = SWIG_Python_CallFunctor(klass, obj);
2422 data->implicitconv = 0;
2423 if (PyErr_Occurred()) {
2431 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2432 if (SWIG_IsOK(res)) {
2437 res = SWIG_AddCast(res);
2438 res = SWIG_AddNewMask(res);
2440 res = SWIG_AddCast(res);
2449 if (!SWIG_IsOK(res) && obj == Py_None) {
2452 if (PyErr_Occurred())
2463 SWIG_Python_ConvertFunctionPtr(PyObject *obj,
void **ptr,
swig_type_info *ty) {
2464 if (!PyCFunction_Check(obj)) {
2465 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2470 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2471 const char *desc = doc ? strstr(doc,
"swig_ptr: ") : 0;
2473 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2480 *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
2495 SWIG_Python_ConvertPacked(PyObject *obj,
void *ptr,
size_t sz,
swig_type_info *ty) {
2497 if (!to)
return SWIG_ERROR;
2502 if (!tc)
return SWIG_ERROR;
2517 SWIGRUNTIME PyObject*
2520 #if (PY_VERSION_HEX >= 0x02020000)
2522 PyObject *newraw = data->newraw;
2524 inst = PyObject_Call(newraw, data->newargs, NULL);
2526 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2527 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2528 if (dictptr != NULL) {
2529 PyObject *dict = *dictptr;
2531 dict = PyDict_New();
2533 PyDict_SetItem(dict, SWIG_This(), swig_this);
2537 PyObject *key = SWIG_This();
2538 PyObject_SetAttr(inst, key, swig_this);
2542 #if PY_VERSION_HEX >= 0x03000000
2543 inst = ((PyTypeObject*) data->newargs)->tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
2545 PyObject_SetAttr(inst, SWIG_This(), swig_this);
2546 Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
2549 PyObject *dict = PyDict_New();
2551 PyDict_SetItem(dict, SWIG_This(), swig_this);
2552 inst = PyInstance_NewRaw(data->newargs, dict);
2559 #if (PY_VERSION_HEX >= 0x02010000)
2561 PyObject *dict = PyDict_New();
2563 PyDict_SetItem(dict, SWIG_This(), swig_this);
2564 inst = PyInstance_NewRaw(data->newargs, dict);
2567 return (PyObject *) inst;
2569 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2573 inst->in_class = (PyClassObject *)data->newargs;
2574 Py_INCREF(inst->in_class);
2575 inst->in_dict = PyDict_New();
2576 if (inst->in_dict == NULL) {
2580 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2581 inst->in_weakreflist = NULL;
2583 #ifdef Py_TPFLAGS_GC
2584 PyObject_GC_Init(inst);
2586 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2587 return (PyObject *) inst;
2593 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2596 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2597 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2598 if (dictptr != NULL) {
2601 dict = PyDict_New();
2604 PyDict_SetItem(dict, SWIG_This(), swig_this);
2608 dict = PyObject_GetAttrString(inst, (
char*)
"__dict__");
2609 PyDict_SetItem(dict, SWIG_This(), swig_this);
2614 SWIGINTERN PyObject *
2615 SWIG_Python_InitShadowInstance(PyObject *args) {
2617 if (!SWIG_Python_UnpackTuple(args,
"swiginit", 2, 2, obj)) {
2622 SwigPyObject_append((PyObject*) sthis, obj[1]);
2624 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2626 return SWIG_Py_Void();
2632 SWIGRUNTIME PyObject *
2633 SWIG_Python_NewPointerObj(PyObject *
self,
void *ptr,
swig_type_info *type,
int flags) {
2639 return SWIG_Py_Void();
2642 own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2643 if (clientdata && clientdata->pytype) {
2645 if (flags & SWIG_BUILTIN_TP_INIT) {
2648 PyObject *next_self = clientdata->pytype->tp_alloc(clientdata->pytype, 0);
2649 while (newobj->next)
2651 newobj->next = next_self;
2653 #ifdef SWIGPYTHON_BUILTIN
2658 newobj = PyObject_New(
SwigPyObject, clientdata->pytype);
2659 #ifdef SWIGPYTHON_BUILTIN
2668 return (PyObject*) newobj;
2670 return SWIG_Py_Void();
2673 assert(!(flags & SWIG_BUILTIN_TP_INIT));
2675 robj = SwigPyObject_New(ptr, type, own);
2676 if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2677 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2686 SWIGRUNTIMEINLINE PyObject *
2687 SWIG_Python_NewPackedObj(
void *ptr,
size_t sz,
swig_type_info *type) {
2688 return ptr ? SwigPyPacked_New((
void *) ptr, sz, type) : SWIG_Py_Void();
2695 #ifdef SWIG_LINK_RUNTIME
2696 void *SWIG_ReturnGlobalTypeList(
void *);
2700 SWIG_Python_GetModule(
void *SWIGUNUSEDPARM(clientdata)) {
2701 static void *type_pointer = (
void *)0;
2703 if (!type_pointer) {
2704 #ifdef SWIG_LINK_RUNTIME
2705 type_pointer = SWIG_ReturnGlobalTypeList((
void *)0);
2707 # ifdef SWIGPY_USE_CAPSULE
2708 type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0);
2710 type_pointer = PyCObject_Import((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION,
2711 (
char*)
"type_pointer" SWIG_TYPE_TABLE_NAME);
2713 if (PyErr_Occurred()) {
2715 type_pointer = (
void *)0;
2722 #if PY_MAJOR_VERSION < 2
2726 PyModule_AddObject(PyObject *m,
char *name, PyObject *o)
2729 if (!PyModule_Check(m)) {
2730 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs module as first arg");
2734 PyErr_SetString(PyExc_TypeError,
"PyModule_AddObject() needs non-NULL value");
2738 dict = PyModule_GetDict(m);
2741 PyErr_Format(PyExc_SystemError,
"module '%s' has no __dict__",
2742 PyModule_GetName(m));
2745 if (PyDict_SetItemString(dict, name, o))
2753 #ifdef SWIGPY_USE_CAPSULE
2754 SWIG_Python_DestroyModule(PyObject *obj)
2756 SWIG_Python_DestroyModule(
void *vptr)
2759 #ifdef SWIGPY_USE_CAPSULE
2766 for (i =0; i < swig_module->size; ++i) {
2770 if (data) SwigPyClientData_Del(data);
2773 Py_DECREF(SWIG_This());
2779 #if PY_VERSION_HEX >= 0x03000000
2781 PyObject *module = PyImport_AddModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION);
2783 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };
2784 PyObject *module = Py_InitModule((
char*)
"swig_runtime_data" SWIG_RUNTIME_VERSION, swig_empty_runtime_method_table);
2786 #ifdef SWIGPY_USE_CAPSULE
2787 PyObject *pointer = PyCapsule_New((
void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule);
2788 if (pointer && module) {
2789 PyModule_AddObject(module, (
char*)
"type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer);
2791 Py_XDECREF(pointer);
2794 PyObject *pointer = PyCObject_FromVoidPtr((
void *) swig_module, SWIG_Python_DestroyModule);
2795 if (pointer && module) {
2796 PyModule_AddObject(module, (
char*)
"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2798 Py_XDECREF(pointer);
2804 SWIGRUNTIME PyObject *
2805 SWIG_Python_TypeCache(
void) {
2806 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2811 SWIG_Python_TypeQuery(
const char *type)
2813 PyObject *cache = SWIG_Python_TypeCache();
2814 PyObject *key = SWIG_Python_str_FromChar(type);
2815 PyObject *obj = PyDict_GetItem(cache, key);
2818 #ifdef SWIGPY_USE_CAPSULE
2825 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2827 #ifdef SWIGPY_USE_CAPSULE
2828 obj = PyCapsule_New((
void*) descriptor, NULL, NULL);
2830 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2832 PyDict_SetItem(cache, key, obj);
2843 #define SWIG_POINTER_EXCEPTION 0
2844 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2845 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2848 SWIG_Python_AddErrMesg(
const char* mesg,
int infront)
2850 if (PyErr_Occurred()) {
2852 PyObject *value = 0;
2853 PyObject *traceback = 0;
2854 PyErr_Fetch(&type, &value, &traceback);
2857 PyObject *old_str = PyObject_Str(value);
2861 PyErr_Format(type,
"%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
2863 PyErr_Format(type,
"%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
2865 SWIG_Python_str_DelForPy3(tmp);
2875 SWIG_Python_ArgFail(
int argnum)
2877 if (PyErr_Occurred()) {
2880 PyOS_snprintf(mesg,
sizeof(mesg),
"argument number %d:", argnum);
2881 return SWIG_Python_AddErrMesg(mesg, 1);
2887 SWIGRUNTIMEINLINE
const char *
2888 SwigPyObject_GetDesc(PyObject *
self)
2892 return ty ? ty->str :
"";
2896 SWIG_Python_TypeError(
const char *type, PyObject *obj)
2899 #if defined(SWIG_COBJECT_TYPES)
2900 if (obj && SwigPyObject_Check(obj)) {
2901 const char *otype = (
const char *) SwigPyObject_GetDesc(obj);
2903 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, 'SwigPyObject(%s)' is received",
2910 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2912 PyObject *str = PyObject_Str(obj);
2913 const char *cstr = str ? SWIG_Python_str_AsChar(str) : 0;
2915 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s(%s)' is received",
2917 SWIG_Python_str_DelForPy3(cstr);
2919 PyErr_Format(PyExc_TypeError,
"a '%s' is expected, '%s' is received",
2926 PyErr_Format(PyExc_TypeError,
"a '%s' is expected", type);
2928 PyErr_Format(PyExc_TypeError,
"unexpected type is received");
2935 SWIG_Python_MustGetPtr(PyObject *obj,
swig_type_info *ty,
int SWIGUNUSEDPARM(argnum),
int flags) {
2937 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2939 #if SWIG_POINTER_EXCEPTION
2941 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2942 SWIG_Python_ArgFail(argnum);
2949 #ifdef SWIGPYTHON_BUILTIN
2951 SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) {
2952 PyTypeObject *tp = obj->ob_type;
2954 PyObject *encoded_name;
2958 # ifdef Py_USING_UNICODE
2959 if (PyString_Check(name)) {
2960 name = PyUnicode_Decode(PyString_AsString(name), PyString_Size(name), NULL, NULL);
2963 }
else if (!PyUnicode_Check(name))
2965 if (!PyString_Check(name))
2968 PyErr_Format(PyExc_TypeError,
"attribute name must be string, not '%.200s'", name->ob_type->tp_name);
2975 if (PyType_Ready(tp) < 0)
2979 descr = _PyType_Lookup(tp, name);
2982 f = descr->ob_type->tp_descr_set;
2984 if (PyString_Check(name)) {
2985 encoded_name = name;
2988 encoded_name = PyUnicode_AsUTF8String(name);
2990 PyErr_Format(PyExc_AttributeError,
"'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name));
2991 Py_DECREF(encoded_name);
2993 res = f(descr, obj, value);
3009 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
3011 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
3015 #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0)
3028 #ifdef SWIG_DIRECTOR_STATIC
3039 #ifndef SWIG_DIRECTOR_PYTHON_HEADER_
3040 #define SWIG_DIRECTOR_PYTHON_HEADER_
3044 #include <exception>
3055 #ifndef SWIG_PYTHON_DIRECTOR_NO_VTABLE
3056 #ifndef SWIG_PYTHON_DIRECTOR_VTABLE
3057 #define SWIG_PYTHON_DIRECTOR_VTABLE
3067 #ifndef SWIG_DIRECTOR_NO_UEH
3068 #ifndef SWIG_DIRECTOR_UEH
3069 #define SWIG_DIRECTOR_UEH
3079 #ifdef SWIG_DIRECTOR_NORTTI
3084 # ifndef SWIG_DIRECTOR_RTDIR
3085 # define SWIG_DIRECTOR_RTDIR
3089 SWIGINTERN std::map<void *, Director *>& get_rtdir_map() {
3090 static std::map<void *, Director *> rtdir_map;
3094 SWIGINTERNINLINE
void set_rtdir(
void *vptr, Director *rtdir) {
3095 get_rtdir_map()[vptr] = rtdir;
3098 SWIGINTERNINLINE Director *get_rtdir(
void *vptr) {
3099 std::map<void *, Director *>::const_iterator pos = get_rtdir_map().find(vptr);
3100 Director *rtdir = (pos != get_rtdir_map().end()) ? pos->second : 0;
3106 # define SWIG_DIRECTOR_CAST(ARG) Swig::get_rtdir(static_cast<void *>(ARG))
3107 # define SWIG_DIRECTOR_RGTR(ARG1, ARG2) Swig::set_rtdir(static_cast<void *>(ARG1), ARG2)
3111 # define SWIG_DIRECTOR_CAST(ARG) dynamic_cast<Swig::Director *>(ARG)
3112 # define SWIG_DIRECTOR_RGTR(ARG1, ARG2)
3126 virtual int get_own()
const {
3146 GCItem * operator->()
const {
3161 int get_own()
const {
3169 template <
typename Type>
3182 template <
typename Type>
3198 std::string swig_msg;
3200 DirectorException(PyObject *error,
const char *hdr =
"",
const char *msg =
"") : swig_msg(hdr) {
3201 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3206 if (!PyErr_Occurred()) {
3207 PyErr_SetString(error, what());
3209 SWIG_PYTHON_THREAD_END_BLOCK;
3216 const char *getMessage()
const {
3220 const char *what()
const throw() {
3221 return swig_msg.c_str();
3224 static void raise(PyObject *error,
const char *msg) {
3228 static void raise(
const char *msg) {
3229 raise(PyExc_RuntimeError, msg);
3235 #ifdef SWIG_DIRECTOR_UEH
3236 static void handler() {
3240 std::cerr <<
"SWIG Director exception caught:" << std::endl
3241 << e.what() << std::endl;
3242 }
catch (std::exception& e) {
3243 std::cerr <<
"std::exception caught: "<< e.what() << std::endl;
3245 std::cerr <<
"Unknown exception caught." << std::endl;
3248 std::cerr << std::endl
3249 <<
"Python interpreter traceback:" << std::endl;
3251 std::cerr << std::endl;
3253 std::cerr <<
"This exception was caught by the SWIG unexpected exception handler." << std::endl
3254 <<
"Try using %feature(\"director:except\") to avoid reaching this point." << std::endl
3256 <<
"Exception is being re-thrown, program will likely abort/terminate." << std::endl;
3262 std::unexpected_handler old;
3264 old = std::set_unexpected(nh);
3268 std::set_unexpected(old);
3284 static void raise(PyObject *error,
const char *msg) {
3288 static void raise(
const char *msg) {
3300 static void raise(
const char *msg) {
3309 :
DirectorException(PyExc_RuntimeError,
"SWIG director pure virtual method called", msg) {
3312 static void raise(
const char *msg) {
3318 #if defined(SWIG_PYTHON_THREADS)
3320 # if !defined(__THREAD__)
3321 # define __THREAD__ 1
3326 # include "pythread.h"
3328 PyThread_type_lock &mutex_;
3331 Guard(PyThread_type_lock & mutex) : mutex_(mutex) {
3332 PyThread_acquire_lock(mutex_, WAIT_LOCK);
3336 PyThread_release_lock(mutex_);
3339 # define SWIG_GUARD(mutex) Guard _guard(mutex)
3341 # define SWIG_GUARD(mutex)
3348 PyObject *swig_self;
3350 mutable bool swig_disown_flag;
3353 void swig_decref()
const {
3354 if (swig_disown_flag) {
3355 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
3356 Py_DECREF(swig_self);
3357 SWIG_PYTHON_THREAD_END_BLOCK;
3363 Director(PyObject *
self) : swig_self(
self), swig_disown_flag(
false) {
3372 PyObject *swig_get_self()
const {
3377 void swig_disown()
const {
3378 if (!swig_disown_flag) {
3379 swig_disown_flag=
true;
3385 void swig_incref()
const {
3386 if (swig_disown_flag) {
3387 Py_INCREF(swig_self);
3392 virtual bool swig_get_inner(
const char * )
const {
3396 virtual void swig_set_inner(
const char * ,
bool )
const {
3401 typedef std::map<void *, GCItem_var> swig_ownership_map;
3402 mutable swig_ownership_map swig_owner;
3404 static PyThread_type_lock swig_mutex_own;
3408 template <
typename Type>
3409 void swig_acquire_ownership_array(Type *vptr)
const {
3411 SWIG_GUARD(swig_mutex_own);
3416 template <
typename Type>
3417 void swig_acquire_ownership(Type *vptr)
const {
3419 SWIG_GUARD(swig_mutex_own);
3424 void swig_acquire_ownership_obj(
void *vptr,
int own)
const {
3426 SWIG_GUARD(swig_mutex_own);
3431 int swig_release_ownership(
void *vptr)
const {
3434 SWIG_GUARD(swig_mutex_own);
3435 swig_ownership_map::iterator iter = swig_owner.find(vptr);
3436 if (iter != swig_owner.end()) {
3437 own = iter->second->get_own();
3438 swig_owner.erase(iter);
3444 template <
typename Type>
3445 static PyObject *swig_pyobj_disown(PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) {
3448 Director *d = SWIG_DIRECTOR_CAST(reinterpret_cast<Type *>(sobj->ptr));
3451 return PyWeakref_NewProxy(pyobj, NULL);
3456 PyThread_type_lock Director::swig_mutex_own = PyThread_allocate_lock();
3464 #define SWIGTYPE_p_Pythia8__AlpgenHooks swig_types[0]
3465 #define SWIGTYPE_p_Pythia8__AlpgenPar swig_types[1]
3466 #define SWIGTYPE_p_Pythia8__AlphaEM swig_types[2]
3467 #define SWIGTYPE_p_Pythia8__AlphaStrong swig_types[3]
3468 #define SWIGTYPE_p_Pythia8__Angantyr swig_types[4]
3469 #define SWIGTYPE_p_Pythia8__BeamParticle swig_types[5]
3470 #define SWIGTYPE_p_Pythia8__BeamRemnants swig_types[6]
3471 #define SWIGTYPE_p_Pythia8__BeamShape swig_types[7]
3472 #define SWIGTYPE_p_Pythia8__BlackSubCollisionModel swig_types[8]
3473 #define SWIGTYPE_p_Pythia8__BoseEinstein swig_types[9]
3474 #define SWIGTYPE_p_Pythia8__BoseEinsteinHadron swig_types[10]
3475 #define SWIGTYPE_p_Pythia8__CJKL swig_types[11]
3476 #define SWIGTYPE_p_Pythia8__CTEQ5L swig_types[12]
3477 #define SWIGTYPE_p_Pythia8__CTEQ6pdf swig_types[13]
3478 #define SWIGTYPE_p_Pythia8__CellJet swig_types[14]
3479 #define SWIGTYPE_p_Pythia8__ClusterJet swig_types[15]
3480 #define SWIGTYPE_p_Pythia8__Clustering swig_types[16]
3481 #define SWIGTYPE_p_Pythia8__ColConfig swig_types[17]
3482 #define SWIGTYPE_p_Pythia8__ColSinglet swig_types[18]
3483 #define SWIGTYPE_p_Pythia8__ColourDipole swig_types[19]
3484 #define SWIGTYPE_p_Pythia8__ColourJunction swig_types[20]
3485 #define SWIGTYPE_p_Pythia8__ColourParticle swig_types[21]
3486 #define SWIGTYPE_p_Pythia8__ColourReconnection swig_types[22]
3487 #define SWIGTYPE_p_Pythia8__ColourTracing swig_types[23]
3488 #define SWIGTYPE_p_Pythia8__CombineMatchingInput swig_types[24]
3489 #define SWIGTYPE_p_Pythia8__CoupSM swig_types[25]
3490 #define SWIGTYPE_p_Pythia8__CoupSUSY swig_types[26]
3491 #define SWIGTYPE_p_Pythia8__Couplings swig_types[27]
3492 #define SWIGTYPE_p_Pythia8__DecayChannel swig_types[28]
3493 #define SWIGTYPE_p_Pythia8__DecayHandler swig_types[29]
3494 #define SWIGTYPE_p_Pythia8__DeuteronProduction swig_types[30]
3495 #define SWIGTYPE_p_Pythia8__DoubleStrikman swig_types[31]
3496 #define SWIGTYPE_p_Pythia8__DummyForStreams swig_types[32]
3497 #define SWIGTYPE_p_Pythia8__EPAexternal swig_types[33]
3498 #define SWIGTYPE_p_Pythia8__EPPS16 swig_types[34]
3499 #define SWIGTYPE_p_Pythia8__EPS09 swig_types[35]
3500 #define SWIGTYPE_p_Pythia8__Event swig_types[36]
3501 #define SWIGTYPE_p_Pythia8__EventInfo swig_types[37]
3502 #define SWIGTYPE_p_Pythia8__FVec swig_types[38]
3503 #define SWIGTYPE_p_Pythia8__Flag swig_types[39]
3504 #define SWIGTYPE_p_Pythia8__FlavContainer swig_types[40]
3505 #define SWIGTYPE_p_Pythia8__FlavourRope swig_types[41]
3506 #define SWIGTYPE_p_Pythia8__GLISSANDOModel swig_types[42]
3507 #define SWIGTYPE_p_Pythia8__GRV94L swig_types[43]
3508 #define SWIGTYPE_p_Pythia8__GRVpiL swig_types[44]
3509 #define SWIGTYPE_p_Pythia8__GammaKinematics swig_types[45]
3510 #define SWIGTYPE_p_Pythia8__GammaMatrix swig_types[46]
3511 #define SWIGTYPE_p_Pythia8__GammaPoint swig_types[47]
3512 #define SWIGTYPE_p_Pythia8__HEPEUP swig_types[48]
3513 #define SWIGTYPE_p_Pythia8__HEPRUP swig_types[49]
3514 #define SWIGTYPE_p_Pythia8__HIInfo swig_types[50]
3515 #define SWIGTYPE_p_Pythia8__HIUserHooks swig_types[51]
3516 #define SWIGTYPE_p_Pythia8__HJSlowJet swig_types[52]
3517 #define SWIGTYPE_p_Pythia8__HMEGamma2TwoFermions swig_types[53]
3518 #define SWIGTYPE_p_Pythia8__HMEHiggs2TwoFermions swig_types[54]
3519 #define SWIGTYPE_p_Pythia8__HMETau2FivePions swig_types[55]
3520 #define SWIGTYPE_p_Pythia8__HMETau2FourPions swig_types[56]
3521 #define SWIGTYPE_p_Pythia8__HMETau2Meson swig_types[57]
3522 #define SWIGTYPE_p_Pythia8__HMETau2PhaseSpace swig_types[58]
3523 #define SWIGTYPE_p_Pythia8__HMETau2ThreeMesons swig_types[59]
3524 #define SWIGTYPE_p_Pythia8__HMETau2ThreeMesonsGeneric swig_types[60]
3525 #define SWIGTYPE_p_Pythia8__HMETau2ThreeMesonsWithKaons swig_types[61]
3526 #define SWIGTYPE_p_Pythia8__HMETau2ThreePions swig_types[62]
3527 #define SWIGTYPE_p_Pythia8__HMETau2TwoLeptons swig_types[63]
3528 #define SWIGTYPE_p_Pythia8__HMETau2TwoMesonsViaVector swig_types[64]
3529 #define SWIGTYPE_p_Pythia8__HMETau2TwoMesonsViaVectorScalar swig_types[65]
3530 #define SWIGTYPE_p_Pythia8__HMETau2TwoPionsGamma swig_types[66]
3531 #define SWIGTYPE_p_Pythia8__HMETauDecay swig_types[67]
3532 #define SWIGTYPE_p_Pythia8__HMETwoFermions2GammaZ2TwoFermions swig_types[68]
3533 #define SWIGTYPE_p_Pythia8__HMETwoFermions2W2TwoFermions swig_types[69]
3534 #define SWIGTYPE_p_Pythia8__HMEW2TwoFermions swig_types[70]
3535 #define SWIGTYPE_p_Pythia8__HMEX2TwoFermions swig_types[71]
3536 #define SWIGTYPE_p_Pythia8__HMEZ2TwoFermions swig_types[72]
3537 #define SWIGTYPE_p_Pythia8__HVStringFlav swig_types[73]
3538 #define SWIGTYPE_p_Pythia8__HVStringPT swig_types[74]
3539 #define SWIGTYPE_p_Pythia8__HVStringZ swig_types[75]
3540 #define SWIGTYPE_p_Pythia8__HadronLevel swig_types[76]
3541 #define SWIGTYPE_p_Pythia8__HadronScatter swig_types[77]
3542 #define SWIGTYPE_p_Pythia8__HadronScatterPair swig_types[78]
3543 #define SWIGTYPE_p_Pythia8__HardDiffraction swig_types[79]
3544 #define SWIGTYPE_p_Pythia8__HardProcess swig_types[80]
3545 #define SWIGTYPE_p_Pythia8__HeavyIons swig_types[81]
3546 #define SWIGTYPE_p_Pythia8__HelicityMatrixElement swig_types[82]
3547 #define SWIGTYPE_p_Pythia8__HelicityParticle swig_types[83]
3548 #define SWIGTYPE_p_Pythia8__HiddenValleyFragmentation swig_types[84]
3549 #define SWIGTYPE_p_Pythia8__Hist swig_types[85]
3550 #define SWIGTYPE_p_Pythia8__HistPlot swig_types[86]
3551 #define SWIGTYPE_p_Pythia8__History swig_types[87]
3552 #define SWIGTYPE_p_Pythia8__ImpactParameterGenerator swig_types[88]
3553 #define SWIGTYPE_p_Pythia8__InBeam swig_types[89]
3554 #define SWIGTYPE_p_Pythia8__InPair swig_types[90]
3555 #define SWIGTYPE_p_Pythia8__Info swig_types[91]
3556 #define SWIGTYPE_p_Pythia8__Isospin swig_types[92]
3557 #define SWIGTYPE_p_Pythia8__JetMatching swig_types[93]
3558 #define SWIGTYPE_p_Pythia8__JetMatchingAlpgen swig_types[94]
3559 #define SWIGTYPE_p_Pythia8__JetMatchingAlpgenInputAlpgen swig_types[95]
3560 #define SWIGTYPE_p_Pythia8__JetMatchingMadgraph swig_types[96]
3561 #define SWIGTYPE_p_Pythia8__JetMatchingMadgraphInputAlpgen swig_types[97]
3562 #define SWIGTYPE_p_Pythia8__Junction swig_types[98]
3563 #define SWIGTYPE_p_Pythia8__JunctionSplitting swig_types[99]
3564 #define SWIGTYPE_p_Pythia8__LHAGrid1 swig_types[100]
3565 #define SWIGTYPE_p_Pythia8__LHAPDF swig_types[101]
3566 #define SWIGTYPE_p_Pythia8__LHAParticle swig_types[102]
3567 #define SWIGTYPE_p_Pythia8__LHAProcess swig_types[103]
3568 #define SWIGTYPE_p_Pythia8__LHAgenerator swig_types[104]
3569 #define SWIGTYPE_p_Pythia8__LHAinitrwgt swig_types[105]
3570 #define SWIGTYPE_p_Pythia8__LHArwgt swig_types[106]
3571 #define SWIGTYPE_p_Pythia8__LHAscales swig_types[107]
3572 #define SWIGTYPE_p_Pythia8__LHAup swig_types[108]
3573 #define SWIGTYPE_p_Pythia8__LHAupAlpgen swig_types[109]
3574 #define SWIGTYPE_p_Pythia8__LHAupFromPYTHIA8 swig_types[110]
3575 #define SWIGTYPE_p_Pythia8__LHAupHelaconia swig_types[111]
3576 #define SWIGTYPE_p_Pythia8__LHAupLHEF swig_types[112]
3577 #define SWIGTYPE_p_Pythia8__LHAupMadgraph swig_types[113]
3578 #define SWIGTYPE_p_Pythia8__LHAweight swig_types[114]
3579 #define SWIGTYPE_p_Pythia8__LHAweightgroup swig_types[115]
3580 #define SWIGTYPE_p_Pythia8__LHAweights swig_types[116]
3581 #define SWIGTYPE_p_Pythia8__LHAwgt swig_types[117]
3582 #define SWIGTYPE_p_Pythia8__LHEF3FromPythia8 swig_types[118]
3583 #define SWIGTYPE_p_Pythia8__LHblockT_double_t swig_types[119]
3584 #define SWIGTYPE_p_Pythia8__LHblockT_int_t swig_types[120]
3585 #define SWIGTYPE_p_Pythia8__LHblockT_std__string_t swig_types[121]
3586 #define SWIGTYPE_p_Pythia8__LHdecayChannel swig_types[122]
3587 #define SWIGTYPE_p_Pythia8__LHdecayTable swig_types[123]
3588 #define SWIGTYPE_p_Pythia8__LHgenericBlock swig_types[124]
3589 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_2_t swig_types[125]
3590 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_3_t swig_types[126]
3591 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_4_t swig_types[127]
3592 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_5_t swig_types[128]
3593 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_6_t swig_types[129]
3594 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_7_t swig_types[130]
3595 #define SWIGTYPE_p_Pythia8__LHmatrixBlockT_8_t swig_types[131]
3596 #define SWIGTYPE_p_Pythia8__LHtensor3BlockT_3_t swig_types[132]
3597 #define SWIGTYPE_p_Pythia8__Lepton swig_types[133]
3598 #define SWIGTYPE_p_Pythia8__Lepton2gamma swig_types[134]
3599 #define SWIGTYPE_p_Pythia8__LeptonPoint swig_types[135]
3600 #define SWIGTYPE_p_Pythia8__LundFFAvg swig_types[136]
3601 #define SWIGTYPE_p_Pythia8__LundFFRaw swig_types[137]
3602 #define SWIGTYPE_p_Pythia8__MBReconUserHooks swig_types[138]
3603 #define SWIGTYPE_p_Pythia8__MSTWpdf swig_types[139]
3604 #define SWIGTYPE_p_Pythia8__MVec swig_types[140]
3605 #define SWIGTYPE_p_Pythia8__MadgraphPar swig_types[141]
3606 #define SWIGTYPE_p_Pythia8__Merging swig_types[142]
3607 #define SWIGTYPE_p_Pythia8__MergingHooks swig_types[143]
3608 #define SWIGTYPE_p_Pythia8__MiniStringFragmentation swig_types[144]
3609 #define SWIGTYPE_p_Pythia8__Mode swig_types[145]
3610 #define SWIGTYPE_p_Pythia8__MultiRadial swig_types[146]
3611 #define SWIGTYPE_p_Pythia8__MultipartonInteractions swig_types[147]
3612 #define SWIGTYPE_p_Pythia8__NNPDF swig_types[148]
3613 #define SWIGTYPE_p_Pythia8__NaiveSubCollisionModel swig_types[149]
3614 #define SWIGTYPE_p_Pythia8__NeutrinoPoint swig_types[150]
3615 #define SWIGTYPE_p_Pythia8__Nucleon swig_types[151]
3616 #define SWIGTYPE_p_Pythia8__NucleusModel swig_types[152]
3617 #define SWIGTYPE_p_Pythia8__OverlappingRopeDipole swig_types[153]
3618 #define SWIGTYPE_p_Pythia8__PDF swig_types[154]
3619 #define SWIGTYPE_p_Pythia8__PDF__PDFEnvelope swig_types[155]
3620 #define SWIGTYPE_p_Pythia8__PVec swig_types[156]
3621 #define SWIGTYPE_p_Pythia8__Parm swig_types[157]
3622 #define SWIGTYPE_p_Pythia8__Particle swig_types[158]
3623 #define SWIGTYPE_p_Pythia8__ParticleData swig_types[159]
3624 #define SWIGTYPE_p_Pythia8__ParticleDataEntry swig_types[160]
3625 #define SWIGTYPE_p_Pythia8__ParticleDecays swig_types[161]
3626 #define SWIGTYPE_p_Pythia8__PartonLevel swig_types[162]
3627 #define SWIGTYPE_p_Pythia8__PartonSystem swig_types[163]
3628 #define SWIGTYPE_p_Pythia8__PartonSystems swig_types[164]
3629 #define SWIGTYPE_p_Pythia8__PartonVertex swig_types[165]
3630 #define SWIGTYPE_p_Pythia8__PhaseSpace swig_types[166]
3631 #define SWIGTYPE_p_Pythia8__PhaseSpace2to1tauy swig_types[167]
3632 #define SWIGTYPE_p_Pythia8__PhaseSpace2to2diffractive swig_types[168]
3633 #define SWIGTYPE_p_Pythia8__PhaseSpace2to2elastic swig_types[169]
3634 #define SWIGTYPE_p_Pythia8__PhaseSpace2to2nondiffractive swig_types[170]
3635 #define SWIGTYPE_p_Pythia8__PhaseSpace2to2tauyz swig_types[171]
3636 #define SWIGTYPE_p_Pythia8__PhaseSpace2to3diffractive swig_types[172]
3637 #define SWIGTYPE_p_Pythia8__PhaseSpace2to3tauycyl swig_types[173]
3638 #define SWIGTYPE_p_Pythia8__PhaseSpace2to3yyycyl swig_types[174]
3639 #define SWIGTYPE_p_Pythia8__PhaseSpaceLHA swig_types[175]
3640 #define SWIGTYPE_p_Pythia8__PomFix swig_types[176]
3641 #define SWIGTYPE_p_Pythia8__PomH1FitAB swig_types[177]
3642 #define SWIGTYPE_p_Pythia8__PomH1Jets swig_types[178]
3643 #define SWIGTYPE_p_Pythia8__PomHISASD swig_types[179]
3644 #define SWIGTYPE_p_Pythia8__PowhegHooks swig_types[180]
3645 #define SWIGTYPE_p_Pythia8__PowhegProcs swig_types[181]
3646 #define SWIGTYPE_p_Pythia8__ProcessContainer swig_types[182]
3647 #define SWIGTYPE_p_Pythia8__ProcessLevel swig_types[183]
3648 #define SWIGTYPE_p_Pythia8__ProgressLog swig_types[184]
3649 #define SWIGTYPE_p_Pythia8__ProtonPoint swig_types[185]
3650 #define SWIGTYPE_p_Pythia8__Pythia swig_types[186]
3651 #define SWIGTYPE_p_Pythia8__RHadrons swig_types[187]
3652 #define SWIGTYPE_p_Pythia8__Reader swig_types[188]
3653 #define SWIGTYPE_p_Pythia8__ResolvedParton swig_types[189]
3654 #define SWIGTYPE_p_Pythia8__ResonanceCha swig_types[190]
3655 #define SWIGTYPE_p_Pythia8__ResonanceChaD swig_types[191]
3656 #define SWIGTYPE_p_Pythia8__ResonanceChar swig_types[192]
3657 #define SWIGTYPE_p_Pythia8__ResonanceDM2 swig_types[193]
3658 #define SWIGTYPE_p_Pythia8__ResonanceDecays swig_types[194]
3659 #define SWIGTYPE_p_Pythia8__ResonanceExcited swig_types[195]
3660 #define SWIGTYPE_p_Pythia8__ResonanceFour swig_types[196]
3661 #define SWIGTYPE_p_Pythia8__ResonanceGeneric swig_types[197]
3662 #define SWIGTYPE_p_Pythia8__ResonanceGluino swig_types[198]
3663 #define SWIGTYPE_p_Pythia8__ResonanceGmZ swig_types[199]
3664 #define SWIGTYPE_p_Pythia8__ResonanceGraviton swig_types[200]
3665 #define SWIGTYPE_p_Pythia8__ResonanceH swig_types[201]
3666 #define SWIGTYPE_p_Pythia8__ResonanceHchg swig_types[202]
3667 #define SWIGTYPE_p_Pythia8__ResonanceHchgchgLeft swig_types[203]
3668 #define SWIGTYPE_p_Pythia8__ResonanceHchgchgRight swig_types[204]
3669 #define SWIGTYPE_p_Pythia8__ResonanceKKgluon swig_types[205]
3670 #define SWIGTYPE_p_Pythia8__ResonanceLeptoquark swig_types[206]
3671 #define SWIGTYPE_p_Pythia8__ResonanceNeut swig_types[207]
3672 #define SWIGTYPE_p_Pythia8__ResonanceNuRight swig_types[208]
3673 #define SWIGTYPE_p_Pythia8__ResonanceRhorizontal swig_types[209]
3674 #define SWIGTYPE_p_Pythia8__ResonanceS swig_types[210]
3675 #define SWIGTYPE_p_Pythia8__ResonanceSl swig_types[211]
3676 #define SWIGTYPE_p_Pythia8__ResonanceSlepton swig_types[212]
3677 #define SWIGTYPE_p_Pythia8__ResonanceSquark swig_types[213]
3678 #define SWIGTYPE_p_Pythia8__ResonanceTop swig_types[214]
3679 #define SWIGTYPE_p_Pythia8__ResonanceW swig_types[215]
3680 #define SWIGTYPE_p_Pythia8__ResonanceWRight swig_types[216]
3681 #define SWIGTYPE_p_Pythia8__ResonanceWidths swig_types[217]
3682 #define SWIGTYPE_p_Pythia8__ResonanceWprime swig_types[218]
3683 #define SWIGTYPE_p_Pythia8__ResonanceZRight swig_types[219]
3684 #define SWIGTYPE_p_Pythia8__ResonanceZp swig_types[220]
3685 #define SWIGTYPE_p_Pythia8__ResonanceZprime swig_types[221]
3686 #define SWIGTYPE_p_Pythia8__Rndm swig_types[222]
3687 #define SWIGTYPE_p_Pythia8__RndmEngine swig_types[223]
3688 #define SWIGTYPE_p_Pythia8__RopeDipole swig_types[224]
3689 #define SWIGTYPE_p_Pythia8__RopeDipoleEnd swig_types[225]
3690 #define SWIGTYPE_p_Pythia8__RopeFragPars swig_types[226]
3691 #define SWIGTYPE_p_Pythia8__Ropewalk swig_types[227]
3692 #define SWIGTYPE_p_Pythia8__RotBstMatrix swig_types[228]
3693 #define SWIGTYPE_p_Pythia8__SLHAinterface swig_types[229]
3694 #define SWIGTYPE_p_Pythia8__SUSYResonanceWidths swig_types[230]
3695 #define SWIGTYPE_p_Pythia8__Settings swig_types[231]
3696 #define SWIGTYPE_p_Pythia8__SetupContainers swig_types[232]
3697 #define SWIGTYPE_p_Pythia8__Sigma0AB2AB swig_types[233]
3698 #define SWIGTYPE_p_Pythia8__Sigma0AB2AX swig_types[234]
3699 #define SWIGTYPE_p_Pythia8__Sigma0AB2AXB swig_types[235]
3700 #define SWIGTYPE_p_Pythia8__Sigma0AB2XB swig_types[236]
3701 #define SWIGTYPE_p_Pythia8__Sigma0AB2XX swig_types[237]
3702 #define SWIGTYPE_p_Pythia8__Sigma0Process swig_types[238]
3703 #define SWIGTYPE_p_Pythia8__Sigma0nonDiffractive swig_types[239]
3704 #define SWIGTYPE_p_Pythia8__Sigma1Process swig_types[240]
3705 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2GravitonStar swig_types[241]
3706 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2H swig_types[242]
3707 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2Hchg swig_types[243]
3708 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2Rhorizontal swig_types[244]
3709 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2W swig_types[245]
3710 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2WRight swig_types[246]
3711 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2Wprime swig_types[247]
3712 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2ZRight swig_types[248]
3713 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2Zp2XX swig_types[249]
3714 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2Zv swig_types[250]
3715 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2gmZ swig_types[251]
3716 #define SWIGTYPE_p_Pythia8__Sigma1ffbar2gmZZprime swig_types[252]
3717 #define SWIGTYPE_p_Pythia8__Sigma1ffbarZprimeWprime swig_types[253]
3718 #define SWIGTYPE_p_Pythia8__Sigma1gg2GravitonStar swig_types[254]
3719 #define SWIGTYPE_p_Pythia8__Sigma1gg2H swig_types[255]
3720 #define SWIGTYPE_p_Pythia8__Sigma1gg2S2XX swig_types[256]
3721 #define SWIGTYPE_p_Pythia8__Sigma1gmgm2H swig_types[257]
3722 #define SWIGTYPE_p_Pythia8__Sigma1lgm2lStar swig_types[258]
3723 #define SWIGTYPE_p_Pythia8__Sigma1ll2Hchgchg swig_types[259]
3724 #define SWIGTYPE_p_Pythia8__Sigma1qg2qStar swig_types[260]
3725 #define SWIGTYPE_p_Pythia8__Sigma1ql2LeptoQuark swig_types[261]
3726 #define SWIGTYPE_p_Pythia8__Sigma1qq2antisquark swig_types[262]
3727 #define SWIGTYPE_p_Pythia8__Sigma1qqbar2KKgluonStar swig_types[263]
3728 #define SWIGTYPE_p_Pythia8__Sigma2Process swig_types[264]
3729 #define SWIGTYPE_p_Pythia8__Sigma2QCffbar2llbar swig_types[265]
3730 #define SWIGTYPE_p_Pythia8__Sigma2QCqq2qq swig_types[266]
3731 #define SWIGTYPE_p_Pythia8__Sigma2QCqqbar2qqbar swig_types[267]
3732 #define SWIGTYPE_p_Pythia8__Sigma2SUSY swig_types[268]
3733 #define SWIGTYPE_p_Pythia8__Sigma2ff2fftW swig_types[269]
3734 #define SWIGTYPE_p_Pythia8__Sigma2ff2fftgmZ swig_types[270]
3735 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2A3H12 swig_types[271]
3736 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2FFbarsgmZ swig_types[272]
3737 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2FfbarsW swig_types[273]
3738 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2HW swig_types[274]
3739 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2HZ swig_types[275]
3740 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2HchgH12 swig_types[276]
3741 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2HchgchgHchgchg swig_types[277]
3742 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2HposHneg swig_types[278]
3743 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2LEDUnparticleZ swig_types[279]
3744 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2LEDUnparticlegamma swig_types[280]
3745 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2LEDgammagamma swig_types[281]
3746 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2LEDllbar swig_types[282]
3747 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2TEVffbar swig_types[283]
3748 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2WW swig_types[284]
3749 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2Wgm swig_types[285]
3750 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2ZW swig_types[286]
3751 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2ZpH swig_types[287]
3752 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2fGfGbar swig_types[288]
3753 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2ffbarsW swig_types[289]
3754 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2ffbarsgm swig_types[290]
3755 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2ffbarsgmZ swig_types[291]
3756 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2gammagamma swig_types[292]
3757 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2gmZgm swig_types[293]
3758 #define SWIGTYPE_p_Pythia8__Sigma2ffbar2gmZgmZ swig_types[294]
3759 #define SWIGTYPE_p_Pythia8__Sigma2ffbarWggm swig_types[295]
3760 #define SWIGTYPE_p_Pythia8__Sigma2ffbargmZWgmZW swig_types[296]
3761 #define SWIGTYPE_p_Pythia8__Sigma2ffbargmZggm swig_types[297]
3762 #define SWIGTYPE_p_Pythia8__Sigma2fgm2Wf swig_types[298]
3763 #define SWIGTYPE_p_Pythia8__Sigma2fgm2gmZf swig_types[299]
3764 #define SWIGTYPE_p_Pythia8__Sigma2gg2GravitonStarg swig_types[300]
3765 #define SWIGTYPE_p_Pythia8__Sigma2gg2Hglt swig_types[301]
3766 #define SWIGTYPE_p_Pythia8__Sigma2gg2LEDUnparticleg swig_types[302]
3767 #define SWIGTYPE_p_Pythia8__Sigma2gg2LEDgammagamma swig_types[303]
3768 #define SWIGTYPE_p_Pythia8__Sigma2gg2LEDgg swig_types[304]
3769 #define SWIGTYPE_p_Pythia8__Sigma2gg2LEDllbar swig_types[305]
3770 #define SWIGTYPE_p_Pythia8__Sigma2gg2LEDqqbar swig_types[306]
3771 #define SWIGTYPE_p_Pythia8__Sigma2gg2LQLQbar swig_types[307]
3772 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar swig_types[308]
3773 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar3DJ1g swig_types[309]
3774 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar3PJ1g swig_types[310]
3775 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar3S11QQbar3S11 swig_types[311]
3776 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar3S11g swig_types[312]
3777 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbar3S11gm swig_types[313]
3778 #define SWIGTYPE_p_Pythia8__Sigma2gg2QQbarX8g swig_types[314]
3779 #define SWIGTYPE_p_Pythia8__Sigma2gg2Sg2XXj swig_types[315]
3780 #define SWIGTYPE_p_Pythia8__Sigma2gg2gammagamma swig_types[316]
3781 #define SWIGTYPE_p_Pythia8__Sigma2gg2gg swig_types[317]
3782 #define SWIGTYPE_p_Pythia8__Sigma2gg2ggamma swig_types[318]
3783 #define SWIGTYPE_p_Pythia8__Sigma2gg2gluinogluino swig_types[319]
3784 #define SWIGTYPE_p_Pythia8__Sigma2gg2qGqGbar swig_types[320]
3785 #define SWIGTYPE_p_Pythia8__Sigma2gg2qqbar swig_types[321]
3786 #define SWIGTYPE_p_Pythia8__Sigma2gg2squarkantisquark swig_types[322]
3787 #define SWIGTYPE_p_Pythia8__Sigma2ggm2qqbar swig_types[323]
3788 #define SWIGTYPE_p_Pythia8__Sigma2gmgm2ffbar swig_types[324]
3789 #define SWIGTYPE_p_Pythia8__Sigma2lgm2Hchgchgl swig_types[325]
3790 #define SWIGTYPE_p_Pythia8__Sigma2qg2GravitonStarq swig_types[326]
3791 #define SWIGTYPE_p_Pythia8__Sigma2qg2Hchgq swig_types[327]
3792 #define SWIGTYPE_p_Pythia8__Sigma2qg2Hq swig_types[328]
3793 #define SWIGTYPE_p_Pythia8__Sigma2qg2Hqlt swig_types[329]
3794 #define SWIGTYPE_p_Pythia8__Sigma2qg2LEDUnparticleq swig_types[330]
3795 #define SWIGTYPE_p_Pythia8__Sigma2qg2LEDqg swig_types[331]
3796 #define SWIGTYPE_p_Pythia8__Sigma2qg2LeptoQuarkl swig_types[332]
3797 #define SWIGTYPE_p_Pythia8__Sigma2qg2QQbar3PJ1q swig_types[333]
3798 #define SWIGTYPE_p_Pythia8__Sigma2qg2QQbarX8q swig_types[334]
3799 #define SWIGTYPE_p_Pythia8__Sigma2qg2Sq2XXj swig_types[335]
3800 #define SWIGTYPE_p_Pythia8__Sigma2qg2Wq swig_types[336]
3801 #define SWIGTYPE_p_Pythia8__Sigma2qg2Zpq2XXj swig_types[337]
3802 #define SWIGTYPE_p_Pythia8__Sigma2qg2charsquark swig_types[338]
3803 #define SWIGTYPE_p_Pythia8__Sigma2qg2chi0squark swig_types[339]
3804 #define SWIGTYPE_p_Pythia8__Sigma2qg2gmZq swig_types[340]
3805 #define SWIGTYPE_p_Pythia8__Sigma2qg2qg swig_types[341]
3806 #define SWIGTYPE_p_Pythia8__Sigma2qg2qgamma swig_types[342]
3807 #define SWIGTYPE_p_Pythia8__Sigma2qg2squarkgluino swig_types[343]
3808 #define SWIGTYPE_p_Pythia8__Sigma2qgm2qg swig_types[344]
3809 #define SWIGTYPE_p_Pythia8__Sigma2qgm2qgm swig_types[345]
3810 #define SWIGTYPE_p_Pythia8__Sigma2qq2LEDqq swig_types[346]
3811 #define SWIGTYPE_p_Pythia8__Sigma2qq2QqtW swig_types[347]
3812 #define SWIGTYPE_p_Pythia8__Sigma2qq2qStarq swig_types[348]
3813 #define SWIGTYPE_p_Pythia8__Sigma2qq2qq swig_types[349]
3814 #define SWIGTYPE_p_Pythia8__Sigma2qq2squarksquark swig_types[350]
3815 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2DY swig_types[351]
3816 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2GravitonStarg swig_types[352]
3817 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2Hglt swig_types[353]
3818 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2LEDUnparticleg swig_types[354]
3819 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2LEDgg swig_types[355]
3820 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2LEDqqbarNew swig_types[356]
3821 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2LQLQbar swig_types[357]
3822 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2QQbar swig_types[358]
3823 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2QQbar3PJ1g swig_types[359]
3824 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2QQbar3S11QQbar3S11 swig_types[360]
3825 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2QQbarX8g swig_types[361]
3826 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2Wg swig_types[362]
3827 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2Zpg2XXj swig_types[363]
3828 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2charchar swig_types[364]
3829 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2charchi0 swig_types[365]
3830 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2chargluino swig_types[366]
3831 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2chi0chi0 swig_types[367]
3832 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2chi0gluino swig_types[368]
3833 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2gg swig_types[369]
3834 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2ggamma swig_types[370]
3835 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2gluinogluino swig_types[371]
3836 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2gmZg swig_types[372]
3837 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2lStarlStarBar swig_types[373]
3838 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2lStarlbar swig_types[374]
3839 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2qGqGbar swig_types[375]
3840 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2qqbarNew swig_types[376]
3841 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2sleptonantislepton swig_types[377]
3842 #define SWIGTYPE_p_Pythia8__Sigma2qqbar2squarkantisquark swig_types[378]
3843 #define SWIGTYPE_p_Pythia8__Sigma3Process swig_types[379]
3844 #define SWIGTYPE_p_Pythia8__Sigma3ff2HchgchgfftWW swig_types[380]
3845 #define SWIGTYPE_p_Pythia8__Sigma3ff2HfftWW swig_types[381]
3846 #define SWIGTYPE_p_Pythia8__Sigma3ff2HfftZZ swig_types[382]
3847 #define SWIGTYPE_p_Pythia8__Sigma3gg2HQQbar swig_types[383]
3848 #define SWIGTYPE_p_Pythia8__Sigma3gg2ggg swig_types[384]
3849 #define SWIGTYPE_p_Pythia8__Sigma3gg2qqbarg swig_types[385]
3850 #define SWIGTYPE_p_Pythia8__Sigma3qg2qgg swig_types[386]
3851 #define SWIGTYPE_p_Pythia8__Sigma3qg2qqqbarDiff swig_types[387]
3852 #define SWIGTYPE_p_Pythia8__Sigma3qg2qqqbarSame swig_types[388]
3853 #define SWIGTYPE_p_Pythia8__Sigma3qq2qqgDiff swig_types[389]
3854 #define SWIGTYPE_p_Pythia8__Sigma3qq2qqgSame swig_types[390]
3855 #define SWIGTYPE_p_Pythia8__Sigma3qqbar2HQQbar swig_types[391]
3856 #define SWIGTYPE_p_Pythia8__Sigma3qqbar2ggg swig_types[392]
3857 #define SWIGTYPE_p_Pythia8__Sigma3qqbar2qqbargDiff swig_types[393]
3858 #define SWIGTYPE_p_Pythia8__Sigma3qqbar2qqbargSame swig_types[394]
3859 #define SWIGTYPE_p_Pythia8__SigmaABMST swig_types[395]
3860 #define SWIGTYPE_p_Pythia8__SigmaLHAProcess swig_types[396]
3861 #define SWIGTYPE_p_Pythia8__SigmaMBR swig_types[397]
3862 #define SWIGTYPE_p_Pythia8__SigmaMultiparton swig_types[398]
3863 #define SWIGTYPE_p_Pythia8__SigmaOniaSetup swig_types[399]
3864 #define SWIGTYPE_p_Pythia8__SigmaPartialWave swig_types[400]
3865 #define SWIGTYPE_p_Pythia8__SigmaProcess swig_types[401]
3866 #define SWIGTYPE_p_Pythia8__SigmaRPP swig_types[402]
3867 #define SWIGTYPE_p_Pythia8__SigmaSaSDL swig_types[403]
3868 #define SWIGTYPE_p_Pythia8__SigmaTotAux swig_types[404]
3869 #define SWIGTYPE_p_Pythia8__SigmaTotOwn swig_types[405]
3870 #define SWIGTYPE_p_Pythia8__SigmaTotal swig_types[406]
3871 #define SWIGTYPE_p_Pythia8__SimpleSpaceShower swig_types[407]
3872 #define SWIGTYPE_p_Pythia8__SimpleTimeShower swig_types[408]
3873 #define SWIGTYPE_p_Pythia8__SimpleWeakShowerMEs swig_types[409]
3874 #define SWIGTYPE_p_Pythia8__SingleCell swig_types[410]
3875 #define SWIGTYPE_p_Pythia8__SingleCellJet swig_types[411]
3876 #define SWIGTYPE_p_Pythia8__SingleClusterJet swig_types[412]
3877 #define SWIGTYPE_p_Pythia8__SingleSlowJet swig_types[413]
3878 #define SWIGTYPE_p_Pythia8__SlowJet swig_types[414]
3879 #define SWIGTYPE_p_Pythia8__SlowJetHook swig_types[415]
3880 #define SWIGTYPE_p_Pythia8__SpaceDipoleEnd swig_types[416]
3881 #define SWIGTYPE_p_Pythia8__SpaceShower swig_types[417]
3882 #define SWIGTYPE_p_Pythia8__Sphericity swig_types[418]
3883 #define SWIGTYPE_p_Pythia8__StauWidths swig_types[419]
3884 #define SWIGTYPE_p_Pythia8__StringEnd swig_types[420]
3885 #define SWIGTYPE_p_Pythia8__StringFlav swig_types[421]
3886 #define SWIGTYPE_p_Pythia8__StringFragmentation swig_types[422]
3887 #define SWIGTYPE_p_Pythia8__StringLength swig_types[423]
3888 #define SWIGTYPE_p_Pythia8__StringPT swig_types[424]
3889 #define SWIGTYPE_p_Pythia8__StringRegion swig_types[425]
3890 #define SWIGTYPE_p_Pythia8__StringSystem swig_types[426]
3891 #define SWIGTYPE_p_Pythia8__StringVertex swig_types[427]
3892 #define SWIGTYPE_p_Pythia8__StringZ swig_types[428]
3893 #define SWIGTYPE_p_Pythia8__SubCollision swig_types[429]
3894 #define SWIGTYPE_p_Pythia8__SubCollisionModel swig_types[430]
3895 #define SWIGTYPE_p_Pythia8__SubCollisionModel__SigEst swig_types[431]
3896 #define SWIGTYPE_p_Pythia8__SuppressSmallPT swig_types[432]
3897 #define SWIGTYPE_p_Pythia8__SusyLesHouches swig_types[433]
3898 #define SWIGTYPE_p_Pythia8__TauDecays swig_types[434]
3899 #define SWIGTYPE_p_Pythia8__Thrust swig_types[435]
3900 #define SWIGTYPE_p_Pythia8__TimeDipoleEnd swig_types[436]
3901 #define SWIGTYPE_p_Pythia8__TimeShower swig_types[437]
3902 #define SWIGTYPE_p_Pythia8__TopReconUserHooks swig_types[438]
3903 #define SWIGTYPE_p_Pythia8__TrialReconnection swig_types[439]
3904 #define SWIGTYPE_p_Pythia8__UserHooks swig_types[440]
3905 #define SWIGTYPE_p_Pythia8__UserHooksVector swig_types[441]
3906 #define SWIGTYPE_p_Pythia8__Vec4 swig_types[442]
3907 #define SWIGTYPE_p_Pythia8__WVec swig_types[443]
3908 #define SWIGTYPE_p_Pythia8__Wave4 swig_types[444]
3909 #define SWIGTYPE_p_Pythia8__WidthFunction swig_types[445]
3910 #define SWIGTYPE_p_Pythia8__WoodsSaxonModel swig_types[446]
3911 #define SWIGTYPE_p_Pythia8__Word swig_types[447]
3912 #define SWIGTYPE_p_Pythia8__Writer swig_types[448]
3913 #define SWIGTYPE_p_Pythia8__XMLTag swig_types[449]
3914 #define SWIGTYPE_p_Pythia8__amcnlo_unitarised_interface swig_types[450]
3915 #define SWIGTYPE_p_Pythia8__nPDF swig_types[451]
3916 #define SWIGTYPE_p_State swig_types[452]
3917 #define SWIGTYPE_p_a_3__std__complexT_double_t swig_types[453]
3918 #define SWIGTYPE_p_a_4__std__complexT_double_t swig_types[454]
3919 #define SWIGTYPE_p_a_6__std__complexT_double_t swig_types[455]
3920 #define SWIGTYPE_p_a_7__std__complexT_double_t swig_types[456]
3921 #define SWIGTYPE_p_a_8__double swig_types[457]
3922 #define SWIGTYPE_p_allocator_type swig_types[458]
3923 #define SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[459]
3924 #define SWIGTYPE_p_bool swig_types[460]
3925 #define SWIGTYPE_p_char swig_types[461]
3926 #define SWIGTYPE_p_char_type swig_types[462]
3927 #define SWIGTYPE_p_const_reference swig_types[463]
3928 #define SWIGTYPE_p_difference_type swig_types[464]
3929 #define SWIGTYPE_p_double swig_types[465]
3930 #define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[466]
3931 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[467]
3932 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[468]
3933 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[469]
3934 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[470]
3935 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[471]
3936 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[472]
3937 #define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[473]
3938 #define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[474]
3939 #define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[475]
3940 #define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[476]
3941 #define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[477]
3942 #define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[478]
3943 #define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[479]
3944 #define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[480]
3945 #define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[481]
3946 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[482]
3947 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[483]
3948 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[484]
3949 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[485]
3950 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[486]
3951 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[487]
3952 #define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[488]
3953 #define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[489]
3954 #define SWIGTYPE_p_first_type swig_types[490]
3955 #define SWIGTYPE_p_float swig_types[491]
3956 #define SWIGTYPE_p_fmtflags swig_types[492]
3957 #define SWIGTYPE_p_ifstream swig_types[493]
3958 #define SWIGTYPE_p_int swig_types[494]
3959 #define SWIGTYPE_p_int_type swig_types[495]
3960 #define SWIGTYPE_p_iostate swig_types[496]
3961 #define SWIGTYPE_p_key_type swig_types[497]
3962 #define SWIGTYPE_p_long swig_types[498]
3963 #define SWIGTYPE_p_long_double swig_types[499]
3964 #define SWIGTYPE_p_long_long swig_types[500]
3965 #define SWIGTYPE_p_mapped_type swig_types[501]
3966 #define SWIGTYPE_p_off_type swig_types[502]
3967 #define SWIGTYPE_p_openmode swig_types[503]
3968 #define SWIGTYPE_p_p_PyObject swig_types[504]
3969 #define SWIGTYPE_p_p_Pythia8__ColourDipole swig_types[505]
3970 #define SWIGTYPE_p_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[506]
3971 #define SWIGTYPE_p_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[507]
3972 #define SWIGTYPE_p_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[508]
3973 #define SWIGTYPE_p_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[509]
3974 #define SWIGTYPE_p_p_void swig_types[510]
3975 #define SWIGTYPE_p_pos_t swig_types[511]
3976 #define SWIGTYPE_p_pos_type swig_types[512]
3977 #define SWIGTYPE_p_reference swig_types[513]
3978 #define SWIGTYPE_p_second_type swig_types[514]
3979 #define SWIGTYPE_p_seekdir swig_types[515]
3980 #define SWIGTYPE_p_short swig_types[516]
3981 #define SWIGTYPE_p_size_t swig_types[517]
3982 #define SWIGTYPE_p_size_type swig_types[518]
3983 #define SWIGTYPE_p_state_type swig_types[519]
3984 #define SWIGTYPE_p_std__allocatorT_Pythia8__Clustering_t swig_types[520]
3985 #define SWIGTYPE_p_std__allocatorT_Pythia8__HelicityParticle_t swig_types[521]
3986 #define SWIGTYPE_p_std__allocatorT_Pythia8__ProcessContainer_p_t swig_types[522]
3987 #define SWIGTYPE_p_std__allocatorT_Pythia8__ResonanceWidths_p_t swig_types[523]
3988 #define SWIGTYPE_p_std__allocatorT_Pythia8__SigmaProcess_p_t swig_types[524]
3989 #define SWIGTYPE_p_std__allocatorT_Pythia8__Vec4_t swig_types[525]
3990 #define SWIGTYPE_p_std__allocatorT_bool_t swig_types[526]
3991 #define SWIGTYPE_p_std__allocatorT_double_t swig_types[527]
3992 #define SWIGTYPE_p_std__allocatorT_int_t swig_types[528]
3993 #define SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t swig_types[529]
3994 #define SWIGTYPE_p_std__allocatorT_std__pairT_double_const_std__pairT_int_int_t_t_t swig_types[530]
3995 #define SWIGTYPE_p_std__allocatorT_std__pairT_int_const_int_t_t swig_types[531]
3996 #define SWIGTYPE_p_std__allocatorT_std__pairT_int_int_t_t swig_types[532]
3997 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__FVec_t_t swig_types[533]
3998 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__Flag_t_t swig_types[534]
3999 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__MVec_t_t swig_types[535]
4000 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__Mode_t_t swig_types[536]
4001 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__PVec_t_t swig_types[537]
4002 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__Parm_t_t swig_types[538]
4003 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_Pythia8__Word_t_t swig_types[539]
4004 #define SWIGTYPE_p_std__allocatorT_std__pairT_std__string_const_std__string_t_t swig_types[540]
4005 #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[541]
4006 #define SWIGTYPE_p_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t swig_types[542]
4007 #define SWIGTYPE_p_std__allocatorT_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t_t swig_types[543]
4008 #define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[544]
4009 #define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[545]
4010 #define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[546]
4011 #define SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[547]
4012 #define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[548]
4013 #define SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[549]
4014 #define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[550]
4015 #define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[551]
4016 #define SWIGTYPE_p_std__basic_stringbufT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[552]
4017 #define SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[553]
4018 #define SWIGTYPE_p_std__complexT_double_t swig_types[554]
4019 #define SWIGTYPE_p_std__ifstream swig_types[555]
4020 #define SWIGTYPE_p_std__invalid_argument swig_types[556]
4021 #define SWIGTYPE_p_std__ios_base swig_types[557]
4022 #define SWIGTYPE_p_std__lessT_double_t swig_types[558]
4023 #define SWIGTYPE_p_std__lessT_int_t swig_types[559]
4024 #define SWIGTYPE_p_std__lessT_std__string_t swig_types[560]
4025 #define SWIGTYPE_p_std__locale swig_types[561]
4026 #define SWIGTYPE_p_std__mapT_Pythia8__Nucleon_p_std__pairT_int_int_t_std__lessT_Pythia8__Nucleon_p_t_std__allocatorT_std__pairT_Pythia8__Nucleon_pconst_std__pairT_int_int_t_t_t_t swig_types[562]
4027 #define SWIGTYPE_p_std__mapT_double_std__pairT_int_int_t_std__lessT_double_t_std__allocatorT_std__pairT_double_const_std__pairT_int_int_t_t_t_t swig_types[563]
4028 #define SWIGTYPE_p_std__mapT_int_double_std__lessT_int_t_std__allocatorT_std__pairT_int_const_double_t_t_t swig_types[564]
4029 #define SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t swig_types[565]
4030 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__FVec_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__FVec_t_t_t swig_types[566]
4031 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__Flag_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__Flag_t_t_t swig_types[567]
4032 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__LHAweight_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__LHAweight_t_t_t swig_types[568]
4033 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__LHAweightgroup_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__LHAweightgroup_t_t_t swig_types[569]
4034 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__LHAwgt_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__LHAwgt_t_t_t swig_types[570]
4035 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__LHgenericBlock_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__LHgenericBlock_t_t_t swig_types[571]
4036 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__MVec_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__MVec_t_t_t swig_types[572]
4037 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__Mode_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__Mode_t_t_t swig_types[573]
4038 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__PVec_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__PVec_t_t_t swig_types[574]
4039 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__Parm_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__Parm_t_t_t swig_types[575]
4040 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__WVec_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__WVec_t_t_t swig_types[576]
4041 #define SWIGTYPE_p_std__mapT_std__string_Pythia8__Word_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_Pythia8__Word_t_t_t swig_types[577]
4042 #define SWIGTYPE_p_std__mapT_std__string_double_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_double_t_t_t swig_types[578]
4043 #define SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t swig_types[579]
4044 #define SWIGTYPE_p_std__multisetT_Pythia8__SubCollision_std__lessT_Pythia8__SubCollision_t_std__allocatorT_Pythia8__SubCollision_t_t swig_types[580]
4045 #define SWIGTYPE_p_std__ofstream swig_types[581]
4046 #define SWIGTYPE_p_std__pairT_Pythia8__RotBstMatrix_Pythia8__RotBstMatrix_t swig_types[582]
4047 #define SWIGTYPE_p_std__pairT_Pythia8__Vec4_Pythia8__Vec4_t swig_types[583]
4048 #define SWIGTYPE_p_std__pairT_double_double_t swig_types[584]
4049 #define SWIGTYPE_p_std__pairT_int_int_t swig_types[585]
4050 #define SWIGTYPE_p_std__pairT_long_long_t swig_types[586]
4051 #define SWIGTYPE_p_std__setT_int_std__lessT_int_t_std__allocatorT_int_t_t swig_types[587]
4052 #define SWIGTYPE_p_std__string swig_types[588]
4053 #define SWIGTYPE_p_std__string__size_type swig_types[589]
4054 #define SWIGTYPE_p_std__vectorT_Pythia8__Clustering_std__allocatorT_Pythia8__Clustering_t_t swig_types[590]
4055 #define SWIGTYPE_p_std__vectorT_Pythia8__ColourDipole_p_std__allocatorT_Pythia8__ColourDipole_p_t_t swig_types[591]
4056 #define SWIGTYPE_p_std__vectorT_Pythia8__HelicityParticle_std__allocatorT_Pythia8__HelicityParticle_t_t swig_types[592]
4057 #define SWIGTYPE_p_std__vectorT_Pythia8__InBeam_std__allocatorT_Pythia8__InBeam_t_t swig_types[593]
4058 #define SWIGTYPE_p_std__vectorT_Pythia8__InPair_std__allocatorT_Pythia8__InPair_t_t swig_types[594]
4059 #define SWIGTYPE_p_std__vectorT_Pythia8__LHAParticle_std__allocatorT_Pythia8__LHAParticle_t_t swig_types[595]
4060 #define SWIGTYPE_p_std__vectorT_Pythia8__LHAgenerator_std__allocatorT_Pythia8__LHAgenerator_t_t swig_types[596]
4061 #define SWIGTYPE_p_std__vectorT_Pythia8__LHblockT_double_t_std__allocatorT_Pythia8__LHblockT_double_t_t_t swig_types[597]
4062 #define SWIGTYPE_p_std__vectorT_Pythia8__LHdecayTable_std__allocatorT_Pythia8__LHdecayTable_t_t swig_types[598]
4063 #define SWIGTYPE_p_std__vectorT_Pythia8__Nucleon_std__allocatorT_Pythia8__Nucleon_t_t swig_types[599]
4064 #define SWIGTYPE_p_std__vectorT_Pythia8__Nucleon_std__allocatorT_Pythia8__Nucleon_t_t__iterator swig_types[600]
4065 #define SWIGTYPE_p_std__vectorT_Pythia8__PhaseSpace_p_std__allocatorT_Pythia8__PhaseSpace_p_t_t swig_types[601]
4066 #define SWIGTYPE_p_std__vectorT_Pythia8__ProcessContainer_p_std__allocatorT_Pythia8__ProcessContainer_p_t_t swig_types[602]
4067 #define SWIGTYPE_p_std__vectorT_Pythia8__ResonanceWidths_p_std__allocatorT_Pythia8__ResonanceWidths_p_t_t swig_types[603]
4068 #define SWIGTYPE_p_std__vectorT_Pythia8__SigmaProcess_p_std__allocatorT_Pythia8__SigmaProcess_p_t_t swig_types[604]
4069 #define SWIGTYPE_p_std__vectorT_Pythia8__StringRegion_std__allocatorT_Pythia8__StringRegion_t_t swig_types[605]
4070 #define SWIGTYPE_p_std__vectorT_Pythia8__StringVertex_std__allocatorT_Pythia8__StringVertex_t_t swig_types[606]
4071 #define SWIGTYPE_p_std__vectorT_Pythia8__UserHooks_p_std__allocatorT_Pythia8__UserHooks_p_t_t swig_types[607]
4072 #define SWIGTYPE_p_std__vectorT_Pythia8__Vec4_std__allocatorT_Pythia8__Vec4_t_t swig_types[608]
4073 #define SWIGTYPE_p_std__vectorT_Pythia8__XMLTag_p_std__allocatorT_Pythia8__XMLTag_p_t_t swig_types[609]
4074 #define SWIGTYPE_p_std__vectorT_bool_std__allocatorT_bool_t_t swig_types[610]
4075 #define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[611]
4076 #define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[612]
4077 #define SWIGTYPE_p_std__vectorT_long_std__allocatorT_long_t_t swig_types[613]
4078 #define SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t swig_types[614]
4079 #define SWIGTYPE_p_std__vectorT_std__pairT_int_int_t_std__allocatorT_std__pairT_int_int_t_t_t swig_types[615]
4080 #define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[616]
4081 #define SWIGTYPE_p_std__vectorT_std__vectorT_Pythia8__ColourDipole_p_std__allocatorT_Pythia8__ColourDipole_p_t_t_std__allocatorT_std__vectorT_Pythia8__ColourDipole_p_std__allocatorT_Pythia8__ColourDipole_p_t_t_t_t swig_types[617]
4082 #define SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t swig_types[618]
4083 #define SWIGTYPE_p_std__vectorT_std__vectorT_int_std__allocatorT_int_t_t_std__allocatorT_std__vectorT_int_std__allocatorT_int_t_t_t_t swig_types[619]
4084 #define SWIGTYPE_p_std__vectorT_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t_std__allocatorT_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t_t_t swig_types[620]
4085 #define SWIGTYPE_p_std__vectorT_std__vectorT_std__pairT_double_double_t_std__allocatorT_std__pairT_double_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_double_double_t_std__allocatorT_std__pairT_double_double_t_t_t_t_t swig_types[621]
4086 #define SWIGTYPE_p_streamoff swig_types[622]
4087 #define SWIGTYPE_p_streampos swig_types[623]
4088 #define SWIGTYPE_p_stringstream swig_types[624]
4089 #define SWIGTYPE_p_swig__SwigPyIterator swig_types[625]
4090 #define SWIGTYPE_p_traits_type swig_types[626]
4091 #define SWIGTYPE_p_unsigned_int swig_types[627]
4092 #define SWIGTYPE_p_unsigned_long swig_types[628]
4093 #define SWIGTYPE_p_unsigned_long_long swig_types[629]
4094 #define SWIGTYPE_p_unsigned_short swig_types[630]
4095 #define SWIGTYPE_p_value_type swig_types[631]
4098 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
4099 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
4103 #if (PY_VERSION_HEX <= 0x02000000)
4104 # if !defined(SWIG_PYTHON_CLASSIC)
4105 # error "This python version requires swig to be run with the '-classic' option"
4112 #if PY_VERSION_HEX >= 0x03000000
4113 # define SWIG_init PyInit__pythia8
4116 # define SWIG_init init_pythia8
4119 #define SWIG_name "_pythia8"
4121 #define SWIGVERSION 0x030008
4122 #define SWIG_VERSION SWIGVERSION
4125 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
4126 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
4129 #include <stdexcept>
4144 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4146 SWIG_PYTHON_THREAD_END_BLOCK;
4152 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4154 SWIG_PYTHON_THREAD_END_BLOCK;
4160 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4161 Py_XINCREF(item._obj);
4164 SWIG_PYTHON_THREAD_END_BLOCK;
4170 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4172 SWIG_PYTHON_THREAD_END_BLOCK;
4175 operator PyObject *()
const
4180 PyObject *operator->()
const
4210 #if PY_VERSION_HEX >= 0x03020000
4211 # define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj))
4213 # define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
4217 #include <stdexcept>
4220 #if defined(__GNUC__)
4221 # if __GNUC__ == 2 && __GNUC_MINOR <= 96
4222 # define SWIG_STD_NOMODERN_STL
4247 virtual PyObject *value()
const = 0;
4261 throw std::invalid_argument(
"operation not supported");
4266 throw std::invalid_argument(
"operation not supported");
4274 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4275 PyObject *obj = value();
4277 SWIG_PYTHON_THREAD_END_BLOCK;
4282 PyObject *__next__()
4287 PyObject *previous()
4289 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
4291 PyObject *obj = value();
4292 SWIG_PYTHON_THREAD_END_BLOCK;
4298 return (n > 0) ? incr(n) : decr(-n);
4308 return ! operator==(x);
4318 return *advance(-n);
4323 return copy()->advance(n);
4328 return copy()->advance(-n);
4333 return x.distance(*
this);
4337 static int init = 0;
4340 desc = SWIG_TypeQuery(
"swig::SwigPyIterator *");
4347 #if defined(SWIGPYTHON_BUILTIN)
4348 inline PyObject* make_output_iterator_builtin (PyObject *pyself)
4358 SWIG_AsVal_double (PyObject *obj,
double *val)
4360 int res = SWIG_TypeError;
4361 if (PyFloat_Check(obj)) {
4362 if (val) *val = PyFloat_AsDouble(obj);
4364 #if PY_VERSION_HEX < 0x03000000
4365 }
else if (PyInt_Check(obj)) {
4366 if (val) *val = PyInt_AsLong(obj);
4369 }
else if (PyLong_Check(obj)) {
4370 double v = PyLong_AsDouble(obj);
4371 if (!PyErr_Occurred()) {
4378 #ifdef SWIG_PYTHON_CAST_MODE
4381 double d = PyFloat_AsDouble(obj);
4382 if (!PyErr_Occurred()) {
4384 return SWIG_AddCast(SWIG_OK);
4389 long v = PyLong_AsLong(obj);
4390 if (!PyErr_Occurred()) {
4392 return SWIG_AddCast(SWIG_AddCast(SWIG_OK));
4409 SWIGINTERNINLINE
int
4410 SWIG_CanCastAsInteger(
double *d,
double min,
double max) {
4412 if ((min <= x && x <= max)) {
4413 double fx = floor(x);
4414 double cx = ceil(x);
4415 double rd = ((x - fx) < 0.5) ? fx : cx;
4416 if ((errno == EDOM) || (errno == ERANGE)) {
4419 double summ, reps, diff;
4422 }
else if (rd > x) {
4429 if (reps < 8*DBL_EPSILON) {
4440 SWIG_AsVal_unsigned_SS_long (PyObject *obj,
unsigned long *val)
4442 #if PY_VERSION_HEX < 0x03000000
4443 if (PyInt_Check(obj)) {
4444 long v = PyInt_AsLong(obj);
4449 return SWIG_OverflowError;
4453 if (PyLong_Check(obj)) {
4454 unsigned long v = PyLong_AsUnsignedLong(obj);
4455 if (!PyErr_Occurred()) {
4460 return SWIG_OverflowError;
4463 #ifdef SWIG_PYTHON_CAST_MODE
4466 unsigned long v = PyLong_AsUnsignedLong(obj);
4467 if (!PyErr_Occurred()) {
4469 return SWIG_AddCast(SWIG_OK);
4475 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
4476 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
4477 if (val) *val = (
unsigned long)(d);
4483 return SWIG_TypeError;
4487 SWIGINTERNINLINE
int
4488 SWIG_AsVal_size_t (PyObject * obj,
size_t *val)
4491 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
4492 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
4497 #define SWIG_From_long PyLong_FromLong
4500 SWIGINTERNINLINE PyObject *
4501 SWIG_From_ptrdiff_t (ptrdiff_t value)
4503 return SWIG_From_long (static_cast< long >(value));
4507 SWIGINTERNINLINE PyObject*
4508 SWIG_From_bool (
bool value)
4510 return PyBool_FromLong(value ? 1 : 0);
4515 SWIG_AsVal_long (PyObject *obj,
long* val)
4517 #if PY_VERSION_HEX < 0x03000000
4518 if (PyInt_Check(obj)) {
4519 if (val) *val = PyInt_AsLong(obj);
4523 if (PyLong_Check(obj)) {
4524 long v = PyLong_AsLong(obj);
4525 if (!PyErr_Occurred()) {
4530 return SWIG_OverflowError;
4533 #ifdef SWIG_PYTHON_CAST_MODE
4536 long v = PyInt_AsLong(obj);
4537 if (!PyErr_Occurred()) {
4539 return SWIG_AddCast(SWIG_OK);
4545 int res = SWIG_AddCast(SWIG_AsVal_double (obj,&d));
4546 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
4547 if (val) *val = (long)(d);
4553 return SWIG_TypeError;
4557 SWIGINTERNINLINE
int
4558 SWIG_AsVal_ptrdiff_t (PyObject * obj, ptrdiff_t *val)
4561 int res = SWIG_AsVal_long (obj, val ? &v : 0);
4562 if (SWIG_IsOK(res) && val) *val = static_cast< ptrdiff_t >(v);
4567 #include <algorithm>
4579 #include <algorithm>
4591 #ifndef SWIG_STD_NOMODERN_STL
4594 # include <streambuf.h>
4598 SWIGINTERNINLINE PyObject*
4599 SWIG_From_int (
int value)
4601 return PyInt_FromLong((
long) value);
4606 #if !defined(SWIG_NO_LLONG_MAX)
4607 # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
4608 # define LLONG_MAX __LONG_LONG_MAX__
4609 # define LLONG_MIN (-LLONG_MAX - 1LL)
4610 # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
4616 SWIG_AsVal_int (PyObject * obj,
int *val)
4619 int res = SWIG_AsVal_long (obj, &v);
4620 if (SWIG_IsOK(res)) {
4621 if ((v < INT_MIN || v > INT_MAX)) {
4622 return SWIG_OverflowError;
4624 if (val) *val = static_cast< int >(v);
4631 SWIGINTERNINLINE PyObject*
4632 SWIG_From_unsigned_SS_long (
unsigned long value)
4634 return (value > LONG_MAX) ?
4635 PyLong_FromUnsignedLong(value) : PyLong_FromLong(static_cast< long >(value));
4639 SWIGINTERNINLINE PyObject *
4640 SWIG_From_size_t (
size_t value)
4642 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
4647 SWIG_AsVal_bool (PyObject *obj,
bool *val)
4650 if (!PyBool_Check(obj))
4652 r = PyObject_IsTrue(obj);
4655 if (val) *val = r ? true :
false;
4661 SWIG_pchar_descriptor(
void)
4663 static int init = 0;
4666 info = SWIG_TypeQuery(
"_p_char");
4673 SWIGINTERNINLINE PyObject *
4674 SWIG_FromCharPtrAndSize(
const char* carray,
size_t size)
4677 if (size > INT_MAX) {
4679 return pchar_descriptor ?
4680 SWIG_InternalNewPointerObj(const_cast< char * >(carray), pchar_descriptor, 0) : SWIG_Py_Void();
4682 #if PY_VERSION_HEX >= 0x03000000
4683 #if PY_VERSION_HEX >= 0x03010000
4684 return PyUnicode_DecodeUTF8(carray, static_cast< Py_ssize_t >(size),
"surrogateescape");
4686 return PyUnicode_FromStringAndSize(carray, static_cast< Py_ssize_t >(size));
4689 return PyString_FromStringAndSize(carray, static_cast< Py_ssize_t >(size));
4693 return SWIG_Py_Void();
4698 SWIGINTERNINLINE PyObject *
4699 SWIG_From_char (
char c)
4701 return SWIG_FromCharPtrAndSize(&c,1);
4706 SWIG_AsCharPtrAndSize(PyObject *obj,
char** cptr,
size_t* psize,
int *alloc)
4708 #if PY_VERSION_HEX>=0x03000000
4709 if (PyUnicode_Check(obj))
4711 if (PyString_Check(obj))
4714 char *cstr; Py_ssize_t len;
4715 #if PY_VERSION_HEX>=0x03000000
4716 if (!alloc && cptr) {
4721 return SWIG_RuntimeError;
4723 obj = PyUnicode_AsUTF8String(obj);
4724 PyBytes_AsStringAndSize(obj, &cstr, &len);
4725 if(alloc) *alloc = SWIG_NEWOBJ;
4727 PyString_AsStringAndSize(obj, &cstr, &len);
4740 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
4741 if (*alloc != SWIG_OLDOBJ)
4743 if (*alloc == SWIG_NEWOBJ)
4746 *cptr = reinterpret_cast< char* >(memcpy((
new char[len + 1]), cstr,
sizeof(
char)*(len + 1)));
4747 *alloc = SWIG_NEWOBJ;
4750 *alloc = SWIG_OLDOBJ;
4753 #if PY_VERSION_HEX>=0x03000000
4756 *cptr = SWIG_Python_str_AsChar(obj);
4759 if (psize) *psize = len + 1;
4760 #if PY_VERSION_HEX>=0x03000000
4765 #if defined(SWIG_PYTHON_2_UNICODE)
4766 #if PY_VERSION_HEX<0x03000000
4767 if (PyUnicode_Check(obj)) {
4768 char *cstr; Py_ssize_t len;
4769 if (!alloc && cptr) {
4770 return SWIG_RuntimeError;
4772 obj = PyUnicode_AsUTF8String(obj);
4773 if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) {
4775 if (alloc) *alloc = SWIG_NEWOBJ;
4776 *cptr = reinterpret_cast< char* >(memcpy((
new char[len + 1]), cstr,
sizeof(
char)*(len + 1)));
4778 if (psize) *psize = len + 1;
4790 if (pchar_descriptor) {
4792 if (SWIG_ConvertPtr(obj, &vptr, pchar_descriptor, 0) == SWIG_OK) {
4793 if (cptr) *cptr = (
char *) vptr;
4794 if (psize) *psize = vptr ? (strlen((
char *)vptr) + 1) : 0;
4795 if (alloc) *alloc = SWIG_OLDOBJ;
4800 return SWIG_TypeError;
4805 SWIG_AsCharArray(PyObject * obj,
char *val,
size_t size)
4807 char* cptr = 0;
size_t csize = 0;
int alloc = SWIG_OLDOBJ;
4808 int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
4809 if (SWIG_IsOK(res)) {
4811 if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
4812 if (csize <= size) {
4814 if (csize) memcpy(val, cptr, csize*
sizeof(
char));
4815 if (csize < size) memset(val + csize, 0, (size - csize)*
sizeof(
char));
4817 if (alloc == SWIG_NEWOBJ) {
4819 res = SWIG_DelNewMask(res);
4823 if (alloc == SWIG_NEWOBJ)
delete[] cptr;
4825 return SWIG_TypeError;
4830 SWIG_AsVal_char (PyObject * obj,
char *val)
4832 int res = SWIG_AsCharArray(obj, val, 1);
4833 if (!SWIG_IsOK(res)) {
4835 res = SWIG_AddCast(SWIG_AsVal_long (obj, &v));
4836 if (SWIG_IsOK(res)) {
4837 if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
4838 if (val) *val = static_cast< char >(v);
4840 res = SWIG_OverflowError;
4852 SWIG_AsVal_short (PyObject * obj,
short *val)
4855 int res = SWIG_AsVal_long (obj, &v);
4856 if (SWIG_IsOK(res)) {
4857 if ((v < SHRT_MIN || v > SHRT_MAX)) {
4858 return SWIG_OverflowError;
4860 if (val) *val = static_cast< short >(v);
4868 SWIG_AsVal_unsigned_SS_short (PyObject * obj,
unsigned short *val)
4871 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
4872 if (SWIG_IsOK(res)) {
4873 if ((v > USHRT_MAX)) {
4874 return SWIG_OverflowError;
4876 if (val) *val = static_cast< unsigned short >(v);
4884 SWIG_AsVal_unsigned_SS_int (PyObject * obj,
unsigned int *val)
4887 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
4888 if (SWIG_IsOK(res)) {
4889 if ((v > UINT_MAX)) {
4890 return SWIG_OverflowError;
4892 if (val) *val = static_cast< unsigned int >(v);
4900 SWIG_AsVal_long_SS_long (PyObject *obj,
long long *val)
4902 int res = SWIG_TypeError;
4903 if (PyLong_Check(obj)) {
4904 long long v = PyLong_AsLongLong(obj);
4905 if (!PyErr_Occurred()) {
4910 res = SWIG_OverflowError;
4914 res = SWIG_AsVal_long (obj,&v);
4915 if (SWIG_IsOK(res)) {
4920 #ifdef SWIG_PYTHON_CAST_MODE
4922 const double mant_max = 1LL << DBL_MANT_DIG;
4923 const double mant_min = -mant_max;
4925 res = SWIG_AsVal_double (obj,&d);
4926 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, mant_min, mant_max)) {
4927 if (val) *val = (
long long)(d);
4928 return SWIG_AddCast(res);
4930 res = SWIG_TypeError;
4938 SWIG_AsVal_unsigned_SS_long_SS_long (PyObject *obj,
unsigned long long *val)
4940 int res = SWIG_TypeError;
4941 if (PyLong_Check(obj)) {
4942 unsigned long long v = PyLong_AsUnsignedLongLong(obj);
4943 if (!PyErr_Occurred()) {
4948 res = SWIG_OverflowError;
4952 res = SWIG_AsVal_unsigned_SS_long (obj,&v);
4953 if (SWIG_IsOK(res)) {
4958 #ifdef SWIG_PYTHON_CAST_MODE
4960 const double mant_max = 1LL << DBL_MANT_DIG;
4962 res = SWIG_AsVal_double (obj,&d);
4963 if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
4964 if (val) *val = (
unsigned long long)(d);
4965 return SWIG_AddCast(res);
4967 res = SWIG_TypeError;
4975 #ifndef SWIG_isfinite
4976 # if defined(isfinite)
4977 # define SWIG_isfinite(X) (isfinite(X))
4978 # elif defined(_MSC_VER)
4979 # define SWIG_isfinite(X) (_finite(X))
4980 # elif defined(__sun) && defined(__SVR4)
4981 # include <ieeefp.h>
4982 # define SWIG_isfinite(X) (finite(X))
4988 #ifdef SWIG_isfinite
4989 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX) && SWIG_isfinite(X))
4991 # define SWIG_Float_Overflow_Check(X) ((X < -FLT_MAX || X > FLT_MAX))
4996 SWIG_AsVal_float (PyObject * obj,
float *val)
4999 int res = SWIG_AsVal_double (obj, &v);
5000 if (SWIG_IsOK(res)) {
5001 if (SWIG_Float_Overflow_Check(v)) {
5002 return SWIG_OverflowError;
5004 if (val) *val = static_cast< float >(v);
5010 SWIGINTERN std::basic_ostream< char,std::char_traits< char > > &std_basic_ostream_Sl_char_Sg__operator_Sl__Sl___SWIG_17(std::basic_ostream< char > *
self,std::basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &s){
5018 #ifndef SWIG_STD_NOMODERN_STL
5019 #include <streambuf>
5021 #include <streambuf.h>
5032 template <
class Type>
5034 typedef Type noconst_type;
5037 template <
class Type>
5039 typedef Type noconst_type;
5053 template <
class Type>
5054 inline const char* type_name() {
5058 template <
class Type>
5062 return SWIG_TypeQuery(name.c_str());
5070 template <
class Type>
5078 template <
class Type>
struct traits <Type *> {
5080 static std::string make_ptr_name(
const char* name) {
5081 std::string ptrname = name;
5085 static const char* type_name() {
5086 static std::string name = make_ptr_name(swig::type_name<Type>());
5087 return name.c_str();
5091 template <
class Type,
class Category>
5094 template <
class Type,
class Category>
5105 static PyObject *from(Type *val,
int owner = 0) {
5106 return SWIG_InternalNewPointerObj(val, type_info<Type>(), owner);
5111 static PyObject *from(
const Type& val) {
5117 static PyObject *from(Type* val) {
5123 static PyObject *from(
const Type* val) {
5129 template <
class Type>
5130 inline PyObject *from(
const Type& val) {
5134 template <
class Type>
5135 inline PyObject *from_ptr(Type* val,
int owner) {
5136 return traits_from_ptr<Type>::from(val, owner);
5142 template <
class Type>
5144 static int asptr(PyObject *obj, Type **val) {
5146 int res = SWIG_ConvertPtr(obj, (
void**)&p, type_info<Type>(), 0);
5147 if (SWIG_IsOK(res)) {
5154 template <
class Type>
5155 inline int asptr(PyObject *obj, Type **vptr) {
5159 template <
class Type>
5161 static int asval(PyObject *obj, Type *val) {
5165 if (!SWIG_IsOK(res))
return res;
5167 typedef typename noconst_traits<Type>::noconst_type noconst_type;
5168 *(const_cast<noconst_type*>(val)) = *p;
5169 if (SWIG_IsNewObj(res)){
5171 res = SWIG_DelNewMask(res);
5184 static int asval(PyObject *obj, Type **val) {
5186 typedef typename noconst_traits<Type>::noconst_type noconst_type;
5187 noconst_type *p = 0;
5189 if (SWIG_IsOK(res)) {
5190 *(const_cast<noconst_type**>(val)) = p;
5199 template <
class Type>
5200 inline int asval(PyObject *obj, Type *val) {
5204 template <
class Type>
5206 static Type as(PyObject *obj,
bool throw_error) {
5208 int res = asval(obj, &v);
5209 if (!obj || !SWIG_IsOK(res)) {
5210 if (!PyErr_Occurred()) {
5211 ::SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
5213 if (throw_error)
throw std::invalid_argument(
"bad type");
5219 template <
class Type>
5221 static Type as(PyObject *obj,
bool throw_error) {
5224 if (SWIG_IsOK(res) && v) {
5225 if (SWIG_IsNewObj(res)) {
5234 static Type *v_def = (Type*) malloc(
sizeof(Type));
5235 if (!PyErr_Occurred()) {
5236 SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
5238 if (throw_error)
throw std::invalid_argument(
"bad type");
5239 memset(v_def,0,
sizeof(Type));
5245 template <
class Type>
5247 static Type* as(PyObject *obj,
bool throw_error) {
5250 if (SWIG_IsOK(res)) {
5253 if (!PyErr_Occurred()) {
5254 SWIG_Error(SWIG_TypeError, swig::type_name<Type>());
5256 if (throw_error)
throw std::invalid_argument(
"bad type");
5262 template <
class Type>
5263 inline Type as(PyObject *obj,
bool te =
false) {
5267 template <
class Type>
5269 static bool check(PyObject *obj) {
5270 int res = obj ? asval(obj, (Type *)(0)) : SWIG_ERROR;
5271 return SWIG_IsOK(res) ? true :
false;
5275 template <
class Type>
5277 static bool check(PyObject *obj) {
5278 int res = obj ? asptr(obj, (Type **)(0)) : SWIG_ERROR;
5279 return SWIG_IsOK(res) ? true :
false;
5283 template <
class Type>
5284 inline bool check(PyObject *obj) {
5293 static const char* type_name() {
return"int"; }
5296 typedef int value_type;
5297 static int asval(PyObject *obj, value_type *val) {
5298 return SWIG_AsVal_int (obj, val);
5302 typedef int value_type;
5303 static PyObject *from(
const value_type& val) {
5304 return SWIG_From_int (val);
5360 template <
class T,
class U >
5362 typedef std::pair<T,U> value_type;
5364 static int get_pair(PyObject* first, PyObject* second,
5365 std::pair<T,U> **val)
5368 value_type *vp = (
new std::pair<T,U>);
5369 T *pfirst = &(vp->first);
5370 int res1 = swig::asval((PyObject*)first, pfirst);
5371 if (!SWIG_IsOK(res1))
return res1;
5372 U *psecond = &(vp->second);
5373 int res2 = swig::asval((PyObject*)second, psecond);
5374 if (!SWIG_IsOK(res2))
return res2;
5376 return SWIG_AddNewMask(res1 > res2 ? res1 : res2);
5379 int res1 = swig::asval((PyObject*)first, pfirst);
5380 if (!SWIG_IsOK(res1))
return res1;
5382 int res2 = swig::asval((PyObject*)second, psecond);
5383 if (!SWIG_IsOK(res2))
return res2;
5384 return res1 > res2 ? res1 : res2;
5388 static int asptr(PyObject *obj, std::pair<T,U> **val) {
5389 int res = SWIG_ERROR;
5390 if (PyTuple_Check(obj)) {
5391 if (PyTuple_GET_SIZE(obj) == 2) {
5392 res = get_pair(PyTuple_GET_ITEM(obj,0),PyTuple_GET_ITEM(obj,1), val);
5394 }
else if (PySequence_Check(obj)) {
5395 if (PySequence_Size(obj) == 2) {
5398 res = get_pair(first, second, val);
5402 res = SWIG_ConvertPtr(obj,(
void**)&p,swig::type_info<value_type>(),0);
5403 if (SWIG_IsOK(res) && val) *val = p;
5410 template <
class T,
class U >
5412 static PyObject *from(
const std::pair<T,U>& val) {
5413 PyObject* obj = PyTuple_New(2);
5414 PyTuple_SetItem(obj,0,swig::from(val.first));
5415 PyTuple_SetItem(obj,1,swig::from(val.second));
5458 template <>
struct traits<std::pair< int, int > > {
5460 static const char* type_name() {
5461 return "std::pair<" "int" "," "int" " >";
5467 #include <functional>
5471 struct less <PyObject *>:
public binary_function<PyObject *, PyObject *, bool>
5474 operator()(PyObject * v, PyObject *w)
const
5477 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
5478 res = PyObject_RichCompareBool(v, w, Py_LT) ? true :
false;
5483 if( PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_TypeError) )
5490 SWIG_PYTHON_THREAD_END_BLOCK;
5496 struct less <swig::SwigPtr_PyObject>:
public binary_function<swig::SwigPtr_PyObject, swig::SwigPtr_PyObject, bool>
5506 struct less <swig::SwigVar_PyObject>:
public binary_function<swig::SwigVar_PyObject, swig::SwigVar_PyObject, bool>
5520 static const char* type_name() {
return "PyObject *"; }
5524 typedef PyObject * value_type;
5525 static int asval(PyObject *obj, value_type *val) {
5526 if (val) *val = obj;
5533 static bool check(PyObject *) {
5539 typedef PyObject * value_type;
5540 static PyObject *from(
const value_type& val) {
5549 template <
class Difference>
5551 check_index(Difference i,
size_t size,
bool insert =
false) {
5553 if ((
size_t) (-i) <= size)
5554 return (
size_t) (i + size);
5555 }
else if ( (
size_t) i < size ) {
5557 }
else if (insert && ((
size_t) i == size)) {
5560 throw std::out_of_range(
"index out of range");
5563 template <
class Difference>
5565 slice_adjust(Difference i, Difference j, Py_ssize_t step,
size_t size, Difference &ii, Difference &jj,
bool insert =
false) {
5567 throw std::invalid_argument(
"slice step cannot be zero");
5568 }
else if (step > 0) {
5572 }
else if (i < (Difference)size) {
5574 }
else if (insert && (i >= (Difference)size)) {
5575 ii = (Difference)size;
5580 jj = (j < (Difference)size) ? j : (Difference)size;
5586 }
else if (i < (Difference) size) {
5588 }
else if (i >= (Difference)(size-1)) {
5589 ii = (Difference)(size-1);
5594 jj = (j < (Difference)size ) ? j : (Difference)(size-1);
5599 template <
class Sequence,
class Difference>
5600 inline typename Sequence::iterator
5601 getpos(Sequence*
self, Difference i) {
5602 typename Sequence::iterator pos =
self->begin();
5603 std::advance(pos, check_index(i,self->size()));
5607 template <
class Sequence,
class Difference>
5608 inline typename Sequence::const_iterator
5609 cgetpos(
const Sequence*
self, Difference i) {
5610 typename Sequence::const_iterator pos =
self->begin();
5611 std::advance(pos, check_index(i,self->size()));
5615 template <
class Sequence>
5617 erase(Sequence* seq,
const typename Sequence::iterator& position) {
5618 seq->erase(position);
5621 template <
class Sequence,
class Difference>
5623 getslice(
const Sequence*
self, Difference i, Difference j, Py_ssize_t step) {
5624 typename Sequence::size_type size =
self->size();
5627 swig::slice_adjust(i, j, step, size, ii, jj);
5630 typename Sequence::const_iterator sb =
self->begin();
5631 typename Sequence::const_iterator se =
self->begin();
5632 std::advance(sb,ii);
5633 std::advance(se,jj);
5635 return new Sequence(sb, se);
5637 Sequence *sequence =
new Sequence();
5638 typename Sequence::const_iterator it = sb;
5640 sequence->push_back(*it);
5641 for (Py_ssize_t c=0; c<step && it!=se; ++c)
5647 Sequence *sequence =
new Sequence();
5649 typename Sequence::const_reverse_iterator sb =
self->rbegin();
5650 typename Sequence::const_reverse_iterator se =
self->rbegin();
5651 std::advance(sb,size-ii-1);
5652 std::advance(se,size-jj-1);
5653 typename Sequence::const_reverse_iterator it = sb;
5655 sequence->push_back(*it);
5656 for (Py_ssize_t c=0; c<-step && it!=se; ++c)
5664 template <
class Sequence,
class Difference,
class InputSeq>
5666 setslice(Sequence*
self, Difference i, Difference j, Py_ssize_t step,
const InputSeq& is = InputSeq()) {
5667 typename Sequence::size_type size =
self->size();
5670 swig::slice_adjust(i, j, step, size, ii, jj,
true);
5675 size_t ssize = jj - ii;
5676 if (ssize <= is.size()) {
5678 typename Sequence::iterator sb =
self->begin();
5679 typename InputSeq::const_iterator isit = is.begin();
5680 std::advance(sb,ii);
5681 std::advance(isit, jj - ii);
5682 self->insert(std::copy(is.begin(), isit, sb), isit, is.end());
5685 typename Sequence::iterator sb =
self->begin();
5686 typename Sequence::iterator se =
self->begin();
5687 std::advance(sb,ii);
5688 std::advance(se,jj);
5691 std::advance(sb,ii);
5692 self->insert(sb, is.begin(), is.end());
5695 size_t replacecount = (jj - ii + step - 1) / step;
5696 if (is.size() != replacecount) {
5698 sprintf(msg,
"attempt to assign sequence of size %lu to extended slice of size %lu", (
unsigned long)is.size(), (
unsigned long)replacecount);
5699 throw std::invalid_argument(msg);
5701 typename Sequence::const_iterator isit = is.begin();
5702 typename Sequence::iterator it =
self->begin();
5703 std::advance(it,ii);
5704 for (
size_t rc=0; rc<replacecount; ++rc) {
5706 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
5713 size_t replacecount = (ii - jj - step - 1) / -step;
5714 if (is.size() != replacecount) {
5716 sprintf(msg,
"attempt to assign sequence of size %lu to extended slice of size %lu", (
unsigned long)is.size(), (
unsigned long)replacecount);
5717 throw std::invalid_argument(msg);
5719 typename Sequence::const_iterator isit = is.begin();
5720 typename Sequence::reverse_iterator it =
self->rbegin();
5721 std::advance(it,size-ii-1);
5722 for (
size_t rc=0; rc<replacecount; ++rc) {
5724 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
5730 template <
class Sequence,
class Difference>
5732 delslice(Sequence*
self, Difference i, Difference j, Py_ssize_t step) {
5733 typename Sequence::size_type size =
self->size();
5736 swig::slice_adjust(i, j, step, size, ii, jj,
true);
5739 typename Sequence::iterator sb =
self->begin();
5740 std::advance(sb,ii);
5742 typename Sequence::iterator se =
self->begin();
5743 std::advance(se,jj);
5746 typename Sequence::iterator it = sb;
5747 size_t delcount = (jj - ii + step - 1) / step;
5749 it =
self->erase(it);
5750 for (Py_ssize_t c=0; c<(step-1) && it != self->end(); ++c)
5758 typename Sequence::reverse_iterator sb =
self->rbegin();
5759 std::advance(sb,size-ii-1);
5760 typename Sequence::reverse_iterator it = sb;
5761 size_t delcount = (ii - jj - step - 1) / -step;
5763 it =
typename Sequence::reverse_iterator(self->erase((++it).base()));
5764 for (Py_ssize_t c=0; c<(-step-1) && it != self->rend(); ++c)
5774 #if defined(__SUNPRO_CC) && defined(_RWSTD_VER)
5775 # if !defined(SWIG_NO_STD_NOITERATOR_TRAITS_STL)
5776 # define SWIG_STD_NOITERATOR_TRAITS_STL
5780 #if !defined(SWIG_STD_NOITERATOR_TRAITS_STL)
5784 template <
class Iterator>
5785 struct iterator_traits {
5786 typedef ptrdiff_t difference_type;
5787 typedef typename Iterator::value_type value_type;
5790 template <
class Iterator,
class Category,
class T,
class Reference,
class Po
inter,
class Distance>
5791 struct iterator_traits<__reverse_bi_iterator<Iterator,Category,T,Reference,Pointer,Distance> > {
5792 typedef Distance difference_type;
5793 typedef T value_type;
5797 struct iterator_traits<T*> {
5798 typedef T value_type;
5799 typedef ptrdiff_t difference_type;
5802 template<
typename _InputIterator>
5803 inline typename iterator_traits<_InputIterator>::difference_type
5804 distance(_InputIterator __first, _InputIterator __last)
5806 typename iterator_traits<_InputIterator>::difference_type __n = 0;
5807 while (__first != __last) {
5817 template<
typename OutIterator>
5821 typedef OutIterator out_iterator;
5822 typedef typename std::iterator_traits<out_iterator>::value_type value_type;
5830 const out_iterator& get_current()
const
5838 const self_type *iters = dynamic_cast<const self_type *>(&iter);
5840 return (current == iters->get_current());
5842 throw std::invalid_argument(
"bad iterator type");
5848 const self_type *iters = dynamic_cast<const self_type *>(&iter);
5850 return std::distance(current, iters->get_current());
5852 throw std::invalid_argument(
"bad iterator type");
5857 out_iterator current;
5860 template <
class ValueType>
5863 typedef const ValueType& argument_type;
5864 typedef PyObject *result_type;
5865 result_type operator()(argument_type v)
const
5867 return swig::from(v);
5871 template<
typename OutIterator,
5872 typename ValueType =
typename std::iterator_traits<OutIterator>::value_type,
5878 typedef OutIterator out_iterator;
5879 typedef ValueType value_type;
5888 PyObject *value()
const {
5889 return from(static_cast<const value_type&>(*(base::current)));
5914 template<
typename OutIterator,
5915 typename ValueType =
typename std::iterator_traits<OutIterator>::value_type,
5921 typedef OutIterator out_iterator;
5922 typedef ValueType value_type;
5931 PyObject *value()
const {
5932 if (base::current == end) {
5935 return from(static_cast<const value_type&>(*(base::current)));
5947 if (base::current == end) {
5959 if (base::current == begin) {
5973 template<
typename OutIter>
5975 make_output_iterator(
const OutIter& current,
const OutIter& begin,
const OutIter& end, PyObject *seq = 0)
5980 template<
typename OutIter>
5981 inline SwigPyIterator*
5982 make_output_iterator(
const OutIter& current, PyObject *seq = 0)
5984 return new SwigPyIteratorOpen_T<OutIter>(current, seq);
5996 : _seq(seq), _index(index)
6004 return swig::as<T>(item,
true);
6005 }
catch (std::exception& e) {
6007 sprintf(msg,
"in sequence element %d ", (
int)_index);
6008 if (!PyErr_Occurred()) {
6009 ::SWIG_Error(SWIG_TypeError, swig::type_name<T>());
6011 SWIG_Python_AddErrorMsg(msg);
6012 SWIG_Python_AddErrorMsg(e.what());
6019 PySequence_SetItem(_seq, _index, swig::from<T>(v));
6032 const T* operator->()
const {
return &m_value; }
6033 operator const T*()
const {
return &m_value; }
6037 template <
class T,
class Reference >
6042 typedef std::random_access_iterator_tag iterator_category;
6043 typedef Reference reference;
6044 typedef T value_type;
6046 typedef Py_ssize_t difference_type;
6053 : _seq(seq), _index(index)
6057 reference operator*()
const
6059 return reference(_seq, _index);
6063 operator->()
const {
6067 bool operator==(
const self& ri)
const
6069 return (_index == ri._index) && (_seq == ri._seq);
6072 bool operator!=(
const self& ri)
const
6074 return !(operator==(ri));
6077 self& operator ++ ()
6083 self& operator -- ()
6089 self& operator += (difference_type n)
6095 self operator +(difference_type n)
const
6097 return self(_seq, _index + n);
6100 self& operator -= (difference_type n)
6106 self operator -(difference_type n)
const
6108 return self(_seq, _index - n);
6111 difference_type operator - (
const self& ri)
const
6113 return _index - ri._index;
6116 bool operator < (
const self& ri)
const
6118 return _index < ri._index;
6122 operator[](difference_type n)
const
6124 return reference(_seq, _index + n);
6129 difference_type _index;
6138 typedef T value_type;
6140 typedef Py_ssize_t difference_type;
6141 typedef size_t size_type;
6142 typedef const pointer const_pointer;
6148 if (!PySequence_Check(seq)) {
6149 throw std::invalid_argument(
"a sequence is expected");
6160 size_type size()
const
6162 return static_cast<size_type>(PySequence_Size(_seq));
6195 const_reference operator[](difference_type n)
const
6197 return const_reference(_seq, n);
6200 bool check(
bool set_err =
true)
const
6202 Py_ssize_t s = size();
6203 for (Py_ssize_t i = 0; i < s; ++i) {
6205 if (!swig::check<value_type>(item)) {
6208 sprintf(msg,
"in sequence element %d", (
int)i);
6209 SWIG_Error(SWIG_RuntimeError, msg);
6225 template <
class SwigPySeq,
class Seq>
6227 assign(
const SwigPySeq& swigpyseq, Seq* seq) {
6229 typedef typename SwigPySeq::value_type value_type;
6230 typename SwigPySeq::const_iterator it = swigpyseq.begin();
6231 for (;it != swigpyseq.end(); ++it) {
6232 seq->insert(seq->end(),(value_type)(*it));
6236 template <
class Seq,
class T =
typename Seq::value_type >
6238 typedef Seq sequence;
6239 typedef T value_type;
6241 static int asptr(PyObject *obj, sequence **seq) {
6242 if (obj == Py_None || SWIG_Python_GetSwigThis(obj)) {
6244 if (::SWIG_ConvertPtr(obj,(
void**)&p,
6245 swig::type_info<sequence>(),0) == SWIG_OK) {
6249 }
else if (PySequence_Check(obj)) {
6253 sequence *pseq =
new sequence();
6254 assign(swigpyseq, pseq);
6258 return swigpyseq.check() ? SWIG_OK : SWIG_ERROR;
6260 }
catch (std::exception& e) {
6262 if (!PyErr_Occurred()) {
6263 PyErr_SetString(PyExc_TypeError, e.what());
6273 template <
class Seq,
class T =
typename Seq::value_type >
6275 typedef Seq sequence;
6276 typedef T value_type;
6277 typedef typename Seq::size_type size_type;
6278 typedef typename sequence::const_iterator const_iterator;
6280 static PyObject *from(
const sequence& seq) {
6281 #ifdef SWIG_PYTHON_EXTRA_NATIVE_CONTAINERS
6283 if (desc && desc->clientdata) {
6284 return SWIG_NewPointerObj(
new sequence(seq), desc, SWIG_POINTER_OWN);
6287 size_type size = seq.size();
6288 if (size <= (size_type)INT_MAX) {
6289 PyObject *obj = PyTuple_New((Py_ssize_t)size);
6291 for (const_iterator it = seq.begin(); it != seq.end(); ++it, ++i) {
6292 PyTuple_SetItem(obj,i,swig::from<value_type>(*it));
6296 PyErr_SetString(PyExc_OverflowError,
"sequence size not valid in python");
6305 template <
class ValueType>
6308 typedef const ValueType& argument_type;
6309 typedef PyObject *result_type;
6310 result_type operator()(argument_type v)
const
6312 return swig::from(v.first);
6316 template <
class ValueType>
6319 typedef const ValueType& argument_type;
6320 typedef PyObject *result_type;
6321 result_type operator()(argument_type v)
const
6323 return swig::from(v.second);
6327 template<
class OutIterator,
class FromOper,
class ValueType =
typename OutIterator::value_type>
6337 template<
class OutIterator,
6347 template<
typename OutIter>
6349 make_output_key_iterator(
const OutIter& current,
const OutIter& begin,
const OutIter& end, PyObject *seq = 0)
6354 template<
class OutIterator,
6355 class FromOper = from_value_oper<typename OutIterator::value_type> >
6365 template<
typename OutIter>
6367 make_output_value_iterator(
const OutIter& current,
const OutIter& begin,
const OutIter& end, PyObject *seq = 0)
6375 template <
class SwigPySeq,
class K,
class T,
class Compare,
class Alloc >
6377 assign(
const SwigPySeq& swigpyseq, std::map<K,T,Compare,Alloc > *map) {
6378 typedef typename std::map<K,T,Compare,Alloc >::value_type value_type;
6379 typename SwigPySeq::const_iterator it = swigpyseq.begin();
6380 for (;it != swigpyseq.end(); ++it) {
6381 map->insert(value_type(it->first, it->second));
6385 template <
class K,
class T,
class Compare,
class Alloc>
6387 typedef std::map<K,T,Compare,Alloc > map_type;
6388 static int asptr(PyObject *obj, map_type **val) {
6389 int res = SWIG_ERROR;
6390 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6391 if (PyDict_Check(obj)) {
6393 #if PY_VERSION_HEX >= 0x03000000
6395 items = PySequence_Fast(items,
".items() didn't return a sequence!");
6400 res = SWIG_ConvertPtr(obj,(
void**)&p,swig::type_info<map_type>(),0);
6401 if (SWIG_IsOK(res) && val) *val = p;
6403 SWIG_PYTHON_THREAD_END_BLOCK;
6408 template <
class K,
class T,
class Compare,
class Alloc >
6410 typedef std::map<K,T,Compare,Alloc > map_type;
6411 typedef typename map_type::const_iterator const_iterator;
6412 typedef typename map_type::size_type size_type;
6414 static PyObject *asdict(
const map_type& map) {
6415 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6416 size_type size = map.size();
6417 Py_ssize_t pysize = (size <= (size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6419 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6420 SWIG_PYTHON_THREAD_END_BLOCK;
6423 PyObject *obj = PyDict_New();
6424 for (const_iterator i= map.begin(); i!= map.end(); ++i) {
6427 PyDict_SetItem(obj, key, val);
6429 SWIG_PYTHON_THREAD_END_BLOCK;
6433 static PyObject *from(
const map_type& map) {
6435 if (desc && desc->clientdata) {
6436 return SWIG_InternalNewPointerObj(
new map_type(map), desc, SWIG_POINTER_OWN);
6446 template <>
struct traits<std::map< int, int, std::less< int >, std::allocator< std::pair< int const,int > > > > {
6448 static const char* type_name() {
6449 return "std::map<" "int" "," "int" "," "std::less< int >" "," "std::allocator< std::pair< int const,int > >" " >";
6454 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_int_Sc_int_Sg__iterator(std::map< int,int > *
self,PyObject **PYTHON_SELF){
6455 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6457 SWIGINTERN
bool std_map_Sl_int_Sc_int_Sg____nonzero__(std::map< int,int >
const *
self){
6458 return !(
self->empty());
6460 SWIGINTERN
bool std_map_Sl_int_Sc_int_Sg____bool__(std::map< int,int >
const *
self){
6461 return !(
self->empty());
6463 SWIGINTERN std::map< int,int >::size_type std_map_Sl_int_Sc_int_Sg____len__(std::map< int,int >
const *
self){
6464 return self->size();
6466 SWIGINTERN std::map< int,int >::mapped_type
const &std_map_Sl_int_Sc_int_Sg____getitem__(std::map< int,int > *
self,std::map< int,int >::key_type
const &key){
6467 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::const_iterator i =
self->find(key);
6468 if (i != self->end())
6471 throw std::out_of_range(
"key not found");
6473 SWIGINTERN
void std_map_Sl_int_Sc_int_Sg____delitem__(std::map< int,int > *
self,std::map< int,int >::key_type
const &key){
6474 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::iterator i =
self->find(key);
6475 if (i != self->end())
6478 throw std::out_of_range(
"key not found");
6480 SWIGINTERN
bool std_map_Sl_int_Sc_int_Sg__has_key(std::map< int,int >
const *
self,std::map< int,int >::key_type
const &key){
6481 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::const_iterator i =
self->find(key);
6482 return i !=
self->end();
6484 SWIGINTERN PyObject *std_map_Sl_int_Sc_int_Sg__keys(std::map< int,int > *
self){
6485 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type size =
self->size();
6486 Py_ssize_t pysize = (size <= (std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6487 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6489 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6490 SWIG_PYTHON_THREAD_END_BLOCK;
6493 PyObject* keyList = PyList_New(pysize);
6494 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::const_iterator i =
self->begin();
6495 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6496 PyList_SET_ITEM(keyList, j, swig::from(i->first));
6498 SWIG_PYTHON_THREAD_END_BLOCK;
6501 SWIGINTERN PyObject *std_map_Sl_int_Sc_int_Sg__values(std::map< int,int > *
self){
6502 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type size =
self->size();
6503 Py_ssize_t pysize = (size <= (std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6504 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6506 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6507 SWIG_PYTHON_THREAD_END_BLOCK;
6510 PyObject* valList = PyList_New(pysize);
6511 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::const_iterator i =
self->begin();
6512 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6513 PyList_SET_ITEM(valList, j, swig::from(i->second));
6515 SWIG_PYTHON_THREAD_END_BLOCK;
6518 SWIGINTERN PyObject *std_map_Sl_int_Sc_int_Sg__items(std::map< int,int > *
self){
6519 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type size =
self->size();
6520 Py_ssize_t pysize = (size <= (std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6521 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6523 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6524 SWIG_PYTHON_THREAD_END_BLOCK;
6527 PyObject* itemList = PyList_New(pysize);
6528 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > >::const_iterator i =
self->begin();
6529 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6530 PyList_SET_ITEM(itemList, j, swig::from(*i));
6532 SWIG_PYTHON_THREAD_END_BLOCK;
6535 SWIGINTERN
bool std_map_Sl_int_Sc_int_Sg____contains__(std::map< int,int > *
self,std::map< int,int >::key_type
const &key){
6536 return self->find(key) !=
self->end();
6538 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_int_Sc_int_Sg__key_iterator(std::map< int,int > *
self,PyObject **PYTHON_SELF){
6539 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6541 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_int_Sc_int_Sg__value_iterator(std::map< int,int > *
self,PyObject **PYTHON_SELF){
6542 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6544 SWIGINTERN
void std_map_Sl_int_Sc_int_Sg____setitem____SWIG_0(std::map< int,int > *
self,std::map< int,int >::key_type
const &key){
6547 SWIGINTERN
void std_map_Sl_int_Sc_int_Sg____setitem____SWIG_1(std::map< int,int > *
self,std::map< int,int >::key_type
const &key,std::map< int,int >::mapped_type
const &x){
6550 SWIGINTERN PyObject *std_map_Sl_int_Sc_int_Sg__asdict(std::map< int,int > *
self){
6553 SWIGINTERN
void std_map_Sl_int_Sc_int_Sg__erase__SWIG_1(std::map< int,int > *
self,std::map< int,int >::iterator position){
self->erase(position); }
6554 SWIGINTERN
void std_map_Sl_int_Sc_int_Sg__erase__SWIG_2(std::map< int,int > *
self,std::map< int,int >::iterator first,std::map< int,int >::iterator last){
self->erase(first, last); }
6557 SWIG_AsPtr_std_string (PyObject * obj, std::string **val)
6559 char* buf = 0 ;
size_t size = 0;
int alloc = SWIG_OLDOBJ;
6560 if (SWIG_IsOK((SWIG_AsCharPtrAndSize(obj, &buf, &size, &alloc)))) {
6562 if (val) *val =
new std::string(buf, size - 1);
6563 if (alloc == SWIG_NEWOBJ)
delete[] buf;
6570 static int init = 0;
6573 descriptor = SWIG_TypeQuery(
"std::string" " *");
6578 int res = SWIG_ConvertPtr(obj, (
void**)&vptr, descriptor, 0);
6579 if (SWIG_IsOK(res) && val) *val = vptr;
6588 SWIG_AsVal_std_string (PyObject * obj, std::string *val)
6590 std::string* v = (std::string *) 0;
6591 int res = SWIG_AsPtr_std_string (obj, &v);
6592 if (!SWIG_IsOK(res))
return res;
6595 if (SWIG_IsNewObj(res)) {
6597 res = SWIG_DelNewMask(res);
6605 SWIGINTERNINLINE PyObject *
6606 SWIG_From_std_string (
const std::string& s)
6608 return SWIG_FromCharPtrAndSize(s.data(), s.size());
6615 static const char* type_name() {
return"std::string"; }
6618 typedef std::string value_type;
6619 static int asval(PyObject *obj, value_type *val) {
6620 return SWIG_AsVal_std_string (obj, val);
6624 typedef std::string value_type;
6625 static PyObject *from(
const value_type& val) {
6626 return SWIG_From_std_string (val);
6633 template <>
struct traits<std::pair< std::string, std::string > > {
6635 static const char* type_name() {
6636 return "std::pair<" "std::string" "," "std::string" " >";
6643 template <>
struct traits<std::map< std::string, std::string, std::less< std::string >, std::allocator< std::pair< std::string const,std::string > > > > {
6645 static const char* type_name() {
6646 return "std::map<" "std::string" "," "std::string" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,std::string > >" " >";
6651 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__iterator(std::map< std::string,std::string > *
self,PyObject **PYTHON_SELF){
6652 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6654 SWIGINTERN
bool std_map_Sl_std_string_Sc_std_string_Sg____nonzero__(std::map< std::string,std::string >
const *
self){
6655 return !(
self->empty());
6657 SWIGINTERN
bool std_map_Sl_std_string_Sc_std_string_Sg____bool__(std::map< std::string,std::string >
const *
self){
6658 return !(
self->empty());
6660 SWIGINTERN std::map< std::string,std::string >::size_type std_map_Sl_std_string_Sc_std_string_Sg____len__(std::map< std::string,std::string >
const *
self){
6661 return self->size();
6663 SWIGINTERN std::map< std::string,std::string >::mapped_type
const &std_map_Sl_std_string_Sc_std_string_Sg____getitem__(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::key_type
const &key){
6664 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i =
self->find(key);
6665 if (i != self->end())
6668 throw std::out_of_range(
"key not found");
6670 SWIGINTERN
void std_map_Sl_std_string_Sc_std_string_Sg____delitem__(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::key_type
const &key){
6671 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::iterator i =
self->find(key);
6672 if (i != self->end())
6675 throw std::out_of_range(
"key not found");
6677 SWIGINTERN
bool std_map_Sl_std_string_Sc_std_string_Sg__has_key(std::map< std::string,std::string >
const *
self,std::map< std::string,std::string >::key_type
const &key){
6678 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i =
self->find(key);
6679 return i !=
self->end();
6681 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__keys(std::map< std::string,std::string > *
self){
6682 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size =
self->size();
6683 Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6684 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6686 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6687 SWIG_PYTHON_THREAD_END_BLOCK;
6690 PyObject* keyList = PyList_New(pysize);
6691 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i =
self->begin();
6692 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6693 PyList_SET_ITEM(keyList, j, swig::from(i->first));
6695 SWIG_PYTHON_THREAD_END_BLOCK;
6698 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__values(std::map< std::string,std::string > *
self){
6699 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size =
self->size();
6700 Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6701 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6703 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6704 SWIG_PYTHON_THREAD_END_BLOCK;
6707 PyObject* valList = PyList_New(pysize);
6708 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i =
self->begin();
6709 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6710 PyList_SET_ITEM(valList, j, swig::from(i->second));
6712 SWIG_PYTHON_THREAD_END_BLOCK;
6715 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__items(std::map< std::string,std::string > *
self){
6716 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type size =
self->size();
6717 Py_ssize_t pysize = (size <= (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6718 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6720 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6721 SWIG_PYTHON_THREAD_END_BLOCK;
6724 PyObject* itemList = PyList_New(pysize);
6725 std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >::const_iterator i =
self->begin();
6726 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6727 PyList_SET_ITEM(itemList, j, swig::from(*i));
6729 SWIG_PYTHON_THREAD_END_BLOCK;
6732 SWIGINTERN
bool std_map_Sl_std_string_Sc_std_string_Sg____contains__(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::key_type
const &key){
6733 return self->find(key) !=
self->end();
6735 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__key_iterator(std::map< std::string,std::string > *
self,PyObject **PYTHON_SELF){
6736 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6738 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_std_string_Sg__value_iterator(std::map< std::string,std::string > *
self,PyObject **PYTHON_SELF){
6739 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6741 SWIGINTERN
void std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_0(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::key_type
const &key){
6744 SWIGINTERN
void std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_1(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::key_type
const &key,std::map< std::string,std::string >::mapped_type
const &x){
6747 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_std_string_Sg__asdict(std::map< std::string,std::string > *
self){
6750 SWIGINTERN
void std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_1(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::iterator position){
self->erase(position); }
6751 SWIGINTERN
void std_map_Sl_std_string_Sc_std_string_Sg__erase__SWIG_2(std::map< std::string,std::string > *
self,std::map< std::string,std::string >::iterator first,std::map< std::string,std::string >::iterator last){
self->erase(first, last); }
6753 #define SWIG_From_double PyFloat_FromDouble
6759 static const char* type_name() {
return"double"; }
6762 typedef double value_type;
6763 static int asval(PyObject *obj, value_type *val) {
6764 return SWIG_AsVal_double (obj, val);
6768 typedef double value_type;
6769 static PyObject *from(
const value_type& val) {
6770 return SWIG_From_double (val);
6777 template <>
struct traits<std::pair< double, std::pair< int,int > > > {
6779 static const char* type_name() {
6780 return "std::pair<" "double" "," "std::pair< int,int >" " >";
6787 template <>
struct traits<std::map< double, std::pair< int,int >, std::less< double >, std::allocator< std::pair< double const,std::pair< int,int > > > > > {
6789 static const char* type_name() {
6790 return "std::map<" "double" "," "std::pair< int,int >" "," "std::less< double >" "," "std::allocator< std::pair< double const,std::pair< int,int > > >" " >";
6795 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__iterator(std::map<
double,std::pair< int,int > > *
self,PyObject **PYTHON_SELF){
6796 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6798 SWIGINTERN
bool std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____nonzero__(std::map<
double,std::pair< int,int > >
const *
self){
6799 return !(
self->empty());
6801 SWIGINTERN
bool std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____bool__(std::map<
double,std::pair< int,int > >
const *
self){
6802 return !(
self->empty());
6804 SWIGINTERN std::map< double,std::pair< int,int > >::size_type std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____len__(std::map<
double,std::pair< int,int > >
const *
self){
6805 return self->size();
6807 SWIGINTERN std::map< double,std::pair< int,int > >::mapped_type
const &std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____getitem__(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::key_type
const &key){
6808 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::const_iterator i =
self->find(key);
6809 if (i != self->end())
6812 throw std::out_of_range(
"key not found");
6814 SWIGINTERN
void std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____delitem__(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::key_type
const &key){
6815 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::iterator i =
self->find(key);
6816 if (i != self->end())
6819 throw std::out_of_range(
"key not found");
6821 SWIGINTERN
bool std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__has_key(std::map<
double,std::pair< int,int > >
const *
self,std::map<
double,std::pair< int,int > >::key_type
const &key){
6822 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::const_iterator i =
self->find(key);
6823 return i !=
self->end();
6825 SWIGINTERN PyObject *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__keys(std::map<
double,std::pair< int,int > > *
self){
6826 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type size =
self->size();
6827 Py_ssize_t pysize = (size <= (std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6828 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6830 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6831 SWIG_PYTHON_THREAD_END_BLOCK;
6834 PyObject* keyList = PyList_New(pysize);
6835 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::const_iterator i =
self->begin();
6836 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6837 PyList_SET_ITEM(keyList, j, swig::from(i->first));
6839 SWIG_PYTHON_THREAD_END_BLOCK;
6842 SWIGINTERN PyObject *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__values(std::map<
double,std::pair< int,int > > *
self){
6843 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type size =
self->size();
6844 Py_ssize_t pysize = (size <= (std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6845 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6847 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6848 SWIG_PYTHON_THREAD_END_BLOCK;
6851 PyObject* valList = PyList_New(pysize);
6852 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::const_iterator i =
self->begin();
6853 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6854 PyList_SET_ITEM(valList, j, swig::from(i->second));
6856 SWIG_PYTHON_THREAD_END_BLOCK;
6859 SWIGINTERN PyObject *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__items(std::map<
double,std::pair< int,int > > *
self){
6860 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type size =
self->size();
6861 Py_ssize_t pysize = (size <= (std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
6862 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
6864 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
6865 SWIG_PYTHON_THREAD_END_BLOCK;
6868 PyObject* itemList = PyList_New(pysize);
6869 std::map< double,std::pair< int,int >,std::less< double >,std::allocator< std::pair< double const,std::pair< int,int > > > >::const_iterator i =
self->begin();
6870 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
6871 PyList_SET_ITEM(itemList, j, swig::from(*i));
6873 SWIG_PYTHON_THREAD_END_BLOCK;
6876 SWIGINTERN
bool std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____contains__(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::key_type
const &key){
6877 return self->find(key) !=
self->end();
6879 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__key_iterator(std::map<
double,std::pair< int,int > > *
self,PyObject **PYTHON_SELF){
6880 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6882 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__value_iterator(std::map<
double,std::pair< int,int > > *
self,PyObject **PYTHON_SELF){
6883 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6885 SWIGINTERN
void std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_0(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::key_type
const &key){
6888 SWIGINTERN
void std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_1(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::key_type
const &key,std::map<
double,std::pair< int,int > >::mapped_type
const &x){
6891 SWIGINTERN PyObject *std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__asdict(std::map<
double,std::pair< int,int > > *
self){
6894 SWIGINTERN
void std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_1(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::iterator position){
self->erase(position); }
6895 SWIGINTERN
void std_map_Sl_double_Sc_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_2(std::map<
double,std::pair< int,int > > *
self,std::map<
double,std::pair< int,int > >::iterator first,std::map<
double,std::pair< int,int > >::iterator last){
self->erase(first, last); }
6900 static const char* type_name() {
return"bool"; }
6903 typedef bool value_type;
6904 static int asval(PyObject *obj, value_type *val) {
6905 return SWIG_AsVal_bool (obj, val);
6909 typedef bool value_type;
6910 static PyObject *from(
const value_type& val) {
6911 return SWIG_From_bool (val);
6920 static int asptr(PyObject *obj, std::vector<T> **vec) {
6927 static PyObject *from(
const std::vector<T>& vec) {
6935 template <>
struct traits<std::vector<bool, std::allocator< bool > > > {
6937 static const char* type_name() {
6938 return "std::vector<bool, std::allocator< bool > >";
6943 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_bool_Sg__iterator(std::vector< bool > *
self,PyObject **PYTHON_SELF){
6944 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
6946 SWIGINTERN
bool std_vector_Sl_bool_Sg____nonzero__(std::vector< bool >
const *
self){
6947 return !(
self->empty());
6949 SWIGINTERN
bool std_vector_Sl_bool_Sg____bool__(std::vector< bool >
const *
self){
6950 return !(
self->empty());
6952 SWIGINTERN std::vector< bool >::size_type std_vector_Sl_bool_Sg____len__(std::vector< bool >
const *
self){
6953 return self->size();
6955 SWIGINTERN std::vector< bool,std::allocator< bool > > *std_vector_Sl_bool_Sg____getslice__(std::vector< bool > *
self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
6956 return swig::getslice(
self, i, j, 1);
6958 SWIGINTERN
void std_vector_Sl_bool_Sg____setslice____SWIG_0(std::vector< bool > *
self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
6959 swig::setslice(
self, i, j, 1, std::vector<
bool,std::allocator< bool > >());
6961 SWIGINTERN
void std_vector_Sl_bool_Sg____setslice____SWIG_1(std::vector< bool > *
self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j,std::vector<
bool,std::allocator< bool > >
const &v){
6962 swig::setslice(
self, i, j, 1, v);
6964 SWIGINTERN
void std_vector_Sl_bool_Sg____delslice__(std::vector< bool > *
self,std::vector< bool >::difference_type i,std::vector< bool >::difference_type j){
6965 swig::delslice(
self, i, j, 1);
6967 SWIGINTERN
void std_vector_Sl_bool_Sg____delitem____SWIG_0(std::vector< bool > *
self,std::vector< bool >::difference_type i){
6968 swig::erase(
self, swig::getpos(
self, i));
6970 SWIGINTERN std::vector< bool,std::allocator< bool > > *std_vector_Sl_bool_Sg____getitem____SWIG_0(std::vector< bool > *
self,PySliceObject *slice){
6971 Py_ssize_t i, j, step;
6972 if( !PySlice_Check(slice) ) {
6973 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6976 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6977 std::vector<bool,std::allocator< bool > >::difference_type
id = i;
6978 std::vector<bool,std::allocator< bool > >::difference_type jd = j;
6979 return swig::getslice(
self,
id, jd, step);
6981 SWIGINTERN
void std_vector_Sl_bool_Sg____setitem____SWIG_0(std::vector< bool > *
self,PySliceObject *slice,std::vector<
bool,std::allocator< bool > >
const &v){
6982 Py_ssize_t i, j, step;
6983 if( !PySlice_Check(slice) ) {
6984 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6987 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6988 std::vector<bool,std::allocator< bool > >::difference_type
id = i;
6989 std::vector<bool,std::allocator< bool > >::difference_type jd = j;
6990 swig::setslice(
self,
id, jd, step, v);
6992 SWIGINTERN
void std_vector_Sl_bool_Sg____setitem____SWIG_1(std::vector< bool > *
self,PySliceObject *slice){
6993 Py_ssize_t i, j, step;
6994 if( !PySlice_Check(slice) ) {
6995 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
6998 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
6999 std::vector<bool,std::allocator< bool > >::difference_type
id = i;
7000 std::vector<bool,std::allocator< bool > >::difference_type jd = j;
7001 swig::delslice(
self,
id, jd, step);
7003 SWIGINTERN
void std_vector_Sl_bool_Sg____delitem____SWIG_1(std::vector< bool > *
self,PySliceObject *slice){
7004 Py_ssize_t i, j, step;
7005 if( !PySlice_Check(slice) ) {
7006 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7009 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7010 std::vector<bool,std::allocator< bool > >::difference_type
id = i;
7011 std::vector<bool,std::allocator< bool > >::difference_type jd = j;
7012 swig::delslice(
self,
id, jd, step);
7014 SWIGINTERN std::vector< bool >::value_type std_vector_Sl_bool_Sg____getitem____SWIG_1(std::vector< bool > *
self,std::vector< bool >::difference_type i){
7015 return *(swig::cgetpos(
self, i));
7017 SWIGINTERN
void std_vector_Sl_bool_Sg____setitem____SWIG_2(std::vector< bool > *
self,std::vector< bool >::difference_type i,std::vector< bool >::value_type x){
7018 *(swig::getpos(
self,i)) = x;
7020 SWIGINTERN std::vector< bool >::value_type std_vector_Sl_bool_Sg__pop(std::vector< bool > *
self){
7021 if (self->size() == 0)
7022 throw std::out_of_range(
"pop from empty container");
7023 std::vector<bool,std::allocator< bool > >::value_type x =
self->back();
7027 SWIGINTERN
void std_vector_Sl_bool_Sg__append(std::vector< bool > *
self,std::vector< bool >::value_type x){
7030 SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__erase__SWIG_0(std::vector< bool > *
self,std::vector< bool >::iterator pos){
return self->erase(pos); }
7031 SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__erase__SWIG_1(std::vector< bool > *
self,std::vector< bool >::iterator first,std::vector< bool >::iterator last){
return self->erase(first, last); }
7032 SWIGINTERN std::vector< bool >::iterator std_vector_Sl_bool_Sg__insert__SWIG_0(std::vector< bool > *
self,std::vector< bool >::iterator pos,std::vector< bool >::value_type x){
return self->insert(pos, x); }
7033 SWIGINTERN
void std_vector_Sl_bool_Sg__insert__SWIG_1(std::vector< bool > *
self,std::vector< bool >::iterator pos,std::vector< bool >::size_type n,std::vector< bool >::value_type x){
self->insert(pos, n, x); }
7036 SWIG_AsVal_std_complex_Sl_double_Sg_ (PyObject *o, std::complex<double>* val)
7038 if (PyComplex_Check(o)) {
7039 if (val) *val = std::complex<double>(PyComplex_RealAsDouble(o), PyComplex_ImagAsDouble(o));
7043 int res = SWIG_AddCast(SWIG_AsVal_double (o, &d));
7044 if (SWIG_IsOK(res)) {
7045 if (val) *val = std::complex<double>(d, 0.0);
7049 return SWIG_TypeError;
7053 SWIGINTERNINLINE PyObject*
7054 SWIG_From_std_complex_Sl_double_Sg_ (
7056 const std::complex<double>&
7062 return PyComplex_FromDoubles(std::real(c), std::imag(c));
7067 template <>
struct traits< std::complex<double> > {
7069 static const char* type_name() {
return"std::complex<double>"; }
7072 typedef std::complex<double> value_type;
7073 static int asval(PyObject *obj, value_type *val) {
7074 return SWIG_AsVal_std_complex_Sl_double_Sg_ (obj, val);
7078 typedef std::complex<double> value_type;
7079 static PyObject *from(
const value_type& val) {
7080 return SWIG_From_std_complex_Sl_double_Sg_ (val);
7087 template <>
struct traits<std::vector< std::complex< double >, std::allocator< std::complex< double > > > > {
7089 static const char* type_name() {
7090 return "std::vector<" "std::complex< double >" "," "std::allocator< std::complex< double > >" " >";
7095 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_complex_Sl_double_Sg__Sg__iterator(std::vector< std::complex< double > > *
self,PyObject **PYTHON_SELF){
7096 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7098 SWIGINTERN
bool std_vector_Sl_std_complex_Sl_double_Sg__Sg____nonzero__(std::vector< std::complex< double > >
const *
self){
7099 return !(
self->empty());
7101 SWIGINTERN
bool std_vector_Sl_std_complex_Sl_double_Sg__Sg____bool__(std::vector< std::complex< double > >
const *
self){
7102 return !(
self->empty());
7104 SWIGINTERN std::vector< std::complex< double > >::size_type std_vector_Sl_std_complex_Sl_double_Sg__Sg____len__(std::vector< std::complex< double > >
const *
self){
7105 return self->size();
7107 SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getslice__(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){
7108 return swig::getslice(
self, i, j, 1);
7110 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){
7111 swig::setslice(
self, i, j, 1, std::vector< std::complex< double >,std::allocator< std::complex< double > > >());
7113 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j,std::vector< std::complex< double >,std::allocator< std::complex< double > > >
const &v){
7114 swig::setslice(
self, i, j, 1, v);
7116 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delslice__(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){
7117 swig::delslice(
self, i, j, 1);
7119 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i){
7120 swig::erase(
self, swig::getpos(
self, i));
7122 SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::complex< double > > *
self,PySliceObject *slice){
7123 Py_ssize_t i, j, step;
7124 if( !PySlice_Check(slice) ) {
7125 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7128 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7129 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type
id = i;
7130 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j;
7131 return swig::getslice(
self,
id, jd, step);
7133 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::complex< double > > *
self,PySliceObject *slice,std::vector< std::complex< double >,std::allocator< std::complex< double > > >
const &v){
7134 Py_ssize_t i, j, step;
7135 if( !PySlice_Check(slice) ) {
7136 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7139 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7140 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type
id = i;
7141 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j;
7142 swig::setslice(
self,
id, jd, step, v);
7144 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::complex< double > > *
self,PySliceObject *slice){
7145 Py_ssize_t i, j, step;
7146 if( !PySlice_Check(slice) ) {
7147 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7150 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7151 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type
id = i;
7152 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j;
7153 swig::delslice(
self,
id, jd, step);
7155 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::complex< double > > *
self,PySliceObject *slice){
7156 Py_ssize_t i, j, step;
7157 if( !PySlice_Check(slice) ) {
7158 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7161 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7162 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type
id = i;
7163 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j;
7164 swig::delslice(
self,
id, jd, step);
7166 SWIGINTERN std::vector< std::complex< double > >::value_type
const &std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::complex< double > >
const *
self,std::vector< std::complex< double > >::difference_type i){
7167 return *(swig::cgetpos(
self, i));
7169 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::value_type
const &x){
7170 *(swig::getpos(
self,i)) = x;
7172 SWIGINTERN std::vector< std::complex< double > >::value_type std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(std::vector< std::complex< double > > *
self){
7173 if (self->size() == 0)
7174 throw std::out_of_range(
"pop from empty container");
7175 std::vector< std::complex< double >,std::allocator< std::complex< double > > >::value_type x =
self->back();
7179 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg__append(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::value_type
const &x){
7182 SWIGINTERN std::vector< std::complex< double > >::iterator std_vector_Sl_std_complex_Sl_double_Sg__Sg__erase__SWIG_0(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::iterator pos){
return self->erase(pos); }
7183 SWIGINTERN std::vector< std::complex< double > >::iterator std_vector_Sl_std_complex_Sl_double_Sg__Sg__erase__SWIG_1(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::iterator first,std::vector< std::complex< double > >::iterator last){
return self->erase(first, last); }
7184 SWIGINTERN std::vector< std::complex< double > >::iterator std_vector_Sl_std_complex_Sl_double_Sg__Sg__insert__SWIG_0(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::iterator pos,std::vector< std::complex< double > >::value_type
const &x){
return self->insert(pos, x); }
7185 SWIGINTERN
void std_vector_Sl_std_complex_Sl_double_Sg__Sg__insert__SWIG_1(std::vector< std::complex< double > > *
self,std::vector< std::complex< double > >::iterator pos,std::vector< std::complex< double > >::size_type n,std::vector< std::complex< double > >::value_type
const &x){
self->insert(pos, n, x); }
7188 template <>
struct traits<std::vector< double, std::allocator< double > > > {
7190 static const char* type_name() {
7191 return "std::vector<" "double" "," "std::allocator< double >" " >";
7196 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_double_Sg__iterator(std::vector< double > *
self,PyObject **PYTHON_SELF){
7197 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7199 SWIGINTERN
bool std_vector_Sl_double_Sg____nonzero__(std::vector< double >
const *
self){
7200 return !(
self->empty());
7202 SWIGINTERN
bool std_vector_Sl_double_Sg____bool__(std::vector< double >
const *
self){
7203 return !(
self->empty());
7205 SWIGINTERN std::vector< double >::size_type std_vector_Sl_double_Sg____len__(std::vector< double >
const *
self){
7206 return self->size();
7208 SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getslice__(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
7209 return swig::getslice(
self, i, j, 1);
7211 SWIGINTERN
void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
7212 swig::setslice(
self, i, j, 1, std::vector<
double,std::allocator< double > >());
7214 SWIGINTERN
void std_vector_Sl_double_Sg____setslice____SWIG_1(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector<
double,std::allocator< double > >
const &v){
7215 swig::setslice(
self, i, j, 1, v);
7217 SWIGINTERN
void std_vector_Sl_double_Sg____delslice__(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){
7218 swig::delslice(
self, i, j, 1);
7220 SWIGINTERN
void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *
self,std::vector< double >::difference_type i){
7221 swig::erase(
self, swig::getpos(
self, i));
7223 SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *
self,PySliceObject *slice){
7224 Py_ssize_t i, j, step;
7225 if( !PySlice_Check(slice) ) {
7226 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7229 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7230 std::vector< double,std::allocator< double > >::difference_type
id = i;
7231 std::vector< double,std::allocator< double > >::difference_type jd = j;
7232 return swig::getslice(
self,
id, jd, step);
7234 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *
self,PySliceObject *slice,std::vector<
double,std::allocator< double > >
const &v){
7235 Py_ssize_t i, j, step;
7236 if( !PySlice_Check(slice) ) {
7237 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7240 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7241 std::vector< double,std::allocator< double > >::difference_type
id = i;
7242 std::vector< double,std::allocator< double > >::difference_type jd = j;
7243 swig::setslice(
self,
id, jd, step, v);
7245 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *
self,PySliceObject *slice){
7246 Py_ssize_t i, j, step;
7247 if( !PySlice_Check(slice) ) {
7248 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7251 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7252 std::vector< double,std::allocator< double > >::difference_type
id = i;
7253 std::vector< double,std::allocator< double > >::difference_type jd = j;
7254 swig::delslice(
self,
id, jd, step);
7256 SWIGINTERN
void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *
self,PySliceObject *slice){
7257 Py_ssize_t i, j, step;
7258 if( !PySlice_Check(slice) ) {
7259 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7262 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7263 std::vector< double,std::allocator< double > >::difference_type
id = i;
7264 std::vector< double,std::allocator< double > >::difference_type jd = j;
7265 swig::delslice(
self,
id, jd, step);
7267 SWIGINTERN std::vector< double >::value_type
const &std_vector_Sl_double_Sg____getitem____SWIG_1(std::vector< double >
const *
self,std::vector< double >::difference_type i){
7268 return *(swig::cgetpos(
self, i));
7270 SWIGINTERN
void std_vector_Sl_double_Sg____setitem____SWIG_2(std::vector< double > *
self,std::vector< double >::difference_type i,std::vector< double >::value_type
const &x){
7271 *(swig::getpos(
self,i)) = x;
7273 SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *
self){
7274 if (self->size() == 0)
7275 throw std::out_of_range(
"pop from empty container");
7276 std::vector< double,std::allocator< double > >::value_type x =
self->back();
7280 SWIGINTERN
void std_vector_Sl_double_Sg__append(std::vector< double > *
self,std::vector< double >::value_type
const &x){
7283 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_0(std::vector< double > *
self,std::vector< double >::iterator pos){
return self->erase(pos); }
7284 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__erase__SWIG_1(std::vector< double > *
self,std::vector< double >::iterator first,std::vector< double >::iterator last){
return self->erase(first, last); }
7285 SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__insert__SWIG_0(std::vector< double > *
self,std::vector< double >::iterator pos,std::vector< double >::value_type
const &x){
return self->insert(pos, x); }
7286 SWIGINTERN
void std_vector_Sl_double_Sg__insert__SWIG_1(std::vector< double > *
self,std::vector< double >::iterator pos,std::vector< double >::size_type n,std::vector< double >::value_type
const &x){
self->insert(pos, n, x); }
7289 template <>
struct traits<std::vector< int, std::allocator< int > > > {
7291 static const char* type_name() {
7292 return "std::vector<" "int" "," "std::allocator< int >" " >";
7297 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_int_Sg__iterator(std::vector< int > *
self,PyObject **PYTHON_SELF){
7298 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7300 SWIGINTERN
bool std_vector_Sl_int_Sg____nonzero__(std::vector< int >
const *
self){
7301 return !(
self->empty());
7303 SWIGINTERN
bool std_vector_Sl_int_Sg____bool__(std::vector< int >
const *
self){
7304 return !(
self->empty());
7306 SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int >
const *
self){
7307 return self->size();
7309 SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
7310 return swig::getslice(
self, i, j, 1);
7312 SWIGINTERN
void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
7313 swig::setslice(
self, i, j, 1, std::vector<
int,std::allocator< int > >());
7315 SWIGINTERN
void std_vector_Sl_int_Sg____setslice____SWIG_1(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector<
int,std::allocator< int > >
const &v){
7316 swig::setslice(
self, i, j, 1, v);
7318 SWIGINTERN
void std_vector_Sl_int_Sg____delslice__(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){
7319 swig::delslice(
self, i, j, 1);
7321 SWIGINTERN
void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *
self,std::vector< int >::difference_type i){
7322 swig::erase(
self, swig::getpos(
self, i));
7324 SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *
self,PySliceObject *slice){
7325 Py_ssize_t i, j, step;
7326 if( !PySlice_Check(slice) ) {
7327 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7330 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7331 std::vector< int,std::allocator< int > >::difference_type
id = i;
7332 std::vector< int,std::allocator< int > >::difference_type jd = j;
7333 return swig::getslice(
self,
id, jd, step);
7335 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *
self,PySliceObject *slice,std::vector<
int,std::allocator< int > >
const &v){
7336 Py_ssize_t i, j, step;
7337 if( !PySlice_Check(slice) ) {
7338 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7341 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7342 std::vector< int,std::allocator< int > >::difference_type
id = i;
7343 std::vector< int,std::allocator< int > >::difference_type jd = j;
7344 swig::setslice(
self,
id, jd, step, v);
7346 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *
self,PySliceObject *slice){
7347 Py_ssize_t i, j, step;
7348 if( !PySlice_Check(slice) ) {
7349 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7352 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7353 std::vector< int,std::allocator< int > >::difference_type
id = i;
7354 std::vector< int,std::allocator< int > >::difference_type jd = j;
7355 swig::delslice(
self,
id, jd, step);
7357 SWIGINTERN
void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *
self,PySliceObject *slice){
7358 Py_ssize_t i, j, step;
7359 if( !PySlice_Check(slice) ) {
7360 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7363 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7364 std::vector< int,std::allocator< int > >::difference_type
id = i;
7365 std::vector< int,std::allocator< int > >::difference_type jd = j;
7366 swig::delslice(
self,
id, jd, step);
7368 SWIGINTERN std::vector< int >::value_type
const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int >
const *
self,std::vector< int >::difference_type i){
7369 return *(swig::cgetpos(
self, i));
7371 SWIGINTERN
void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *
self,std::vector< int >::difference_type i,std::vector< int >::value_type
const &x){
7372 *(swig::getpos(
self,i)) = x;
7374 SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *
self){
7375 if (self->size() == 0)
7376 throw std::out_of_range(
"pop from empty container");
7377 std::vector< int,std::allocator< int > >::value_type x =
self->back();
7381 SWIGINTERN
void std_vector_Sl_int_Sg__append(std::vector< int > *
self,std::vector< int >::value_type
const &x){
7384 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_0(std::vector< int > *
self,std::vector< int >::iterator pos){
return self->erase(pos); }
7385 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__erase__SWIG_1(std::vector< int > *
self,std::vector< int >::iterator first,std::vector< int >::iterator last){
return self->erase(first, last); }
7386 SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__insert__SWIG_0(std::vector< int > *
self,std::vector< int >::iterator pos,std::vector< int >::value_type
const &x){
return self->insert(pos, x); }
7387 SWIGINTERN
void std_vector_Sl_int_Sg__insert__SWIG_1(std::vector< int > *
self,std::vector< int >::iterator pos,std::vector< int >::size_type n,std::vector< int >::value_type
const &x){
self->insert(pos, n, x); }
7390 template <>
struct traits<std::vector< std::string, std::allocator< std::string > > > {
7392 static const char* type_name() {
7393 return "std::vector<" "std::string" "," "std::allocator< std::string >" " >";
7398 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_string_Sg__iterator(std::vector< std::string > *
self,PyObject **PYTHON_SELF){
7399 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7401 SWIGINTERN
bool std_vector_Sl_std_string_Sg____nonzero__(std::vector< std::string >
const *
self){
7402 return !(
self->empty());
7404 SWIGINTERN
bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string >
const *
self){
7405 return !(
self->empty());
7407 SWIGINTERN std::vector< std::string >::size_type std_vector_Sl_std_string_Sg____len__(std::vector< std::string >
const *
self){
7408 return self->size();
7410 SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getslice__(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
7411 return swig::getslice(
self, i, j, 1);
7413 SWIGINTERN
void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
7414 swig::setslice(
self, i, j, 1, std::vector< std::string,std::allocator< std::string > >());
7416 SWIGINTERN
void std_vector_Sl_std_string_Sg____setslice____SWIG_1(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > >
const &v){
7417 swig::setslice(
self, i, j, 1, v);
7419 SWIGINTERN
void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){
7420 swig::delslice(
self, i, j, 1);
7422 SWIGINTERN
void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::difference_type i){
7423 swig::erase(
self, swig::getpos(
self, i));
7425 SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *
self,PySliceObject *slice){
7426 Py_ssize_t i, j, step;
7427 if( !PySlice_Check(slice) ) {
7428 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7431 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7432 std::vector< std::string,std::allocator< std::string > >::difference_type
id = i;
7433 std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
7434 return swig::getslice(
self,
id, jd, step);
7436 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *
self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > >
const &v){
7437 Py_ssize_t i, j, step;
7438 if( !PySlice_Check(slice) ) {
7439 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7442 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7443 std::vector< std::string,std::allocator< std::string > >::difference_type
id = i;
7444 std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
7445 swig::setslice(
self,
id, jd, step, v);
7447 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *
self,PySliceObject *slice){
7448 Py_ssize_t i, j, step;
7449 if( !PySlice_Check(slice) ) {
7450 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7453 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7454 std::vector< std::string,std::allocator< std::string > >::difference_type
id = i;
7455 std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
7456 swig::delslice(
self,
id, jd, step);
7458 SWIGINTERN
void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *
self,PySliceObject *slice){
7459 Py_ssize_t i, j, step;
7460 if( !PySlice_Check(slice) ) {
7461 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7464 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7465 std::vector< std::string,std::allocator< std::string > >::difference_type
id = i;
7466 std::vector< std::string,std::allocator< std::string > >::difference_type jd = j;
7467 swig::delslice(
self,
id, jd, step);
7469 SWIGINTERN std::vector< std::string >::value_type
const &std_vector_Sl_std_string_Sg____getitem____SWIG_1(std::vector< std::string >
const *
self,std::vector< std::string >::difference_type i){
7470 return *(swig::cgetpos(
self, i));
7472 SWIGINTERN
void std_vector_Sl_std_string_Sg____setitem____SWIG_2(std::vector< std::string > *
self,std::vector< std::string >::difference_type i,std::vector< std::string >::value_type
const &x){
7473 *(swig::getpos(
self,i)) = x;
7475 SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *
self){
7476 if (self->size() == 0)
7477 throw std::out_of_range(
"pop from empty container");
7478 std::vector< std::string,std::allocator< std::string > >::value_type x =
self->back();
7482 SWIGINTERN
void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *
self,std::vector< std::string >::value_type
const &x){
7485 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::iterator pos){
return self->erase(pos); }
7486 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__erase__SWIG_1(std::vector< std::string > *
self,std::vector< std::string >::iterator first,std::vector< std::string >::iterator last){
return self->erase(first, last); }
7487 SWIGINTERN std::vector< std::string >::iterator std_vector_Sl_std_string_Sg__insert__SWIG_0(std::vector< std::string > *
self,std::vector< std::string >::iterator pos,std::vector< std::string >::value_type
const &x){
return self->insert(pos, x); }
7488 SWIGINTERN
void std_vector_Sl_std_string_Sg__insert__SWIG_1(std::vector< std::string > *
self,std::vector< std::string >::iterator pos,std::vector< std::string >::size_type n,std::vector< std::string >::value_type
const &x){
self->insert(pos, n, x); }
7491 template <>
struct traits<std::vector< std::pair< int,int >, std::allocator< std::pair< int,int > > > > {
7493 static const char* type_name() {
7494 return "std::vector<" "std::pair< int,int >" "," "std::allocator< std::pair< int,int > >" " >";
7499 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__iterator(std::vector< std::pair< int,int > > *
self,PyObject **PYTHON_SELF){
7500 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7502 SWIGINTERN
bool std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____nonzero__(std::vector< std::pair< int,int > >
const *
self){
7503 return !(
self->empty());
7505 SWIGINTERN
bool std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____bool__(std::vector< std::pair< int,int > >
const *
self){
7506 return !(
self->empty());
7508 SWIGINTERN std::vector< std::pair< int,int > >::size_type std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____len__(std::vector< std::pair< int,int > >
const *
self){
7509 return self->size();
7511 SWIGINTERN std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getslice__(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
7512 return swig::getslice(
self, i, j, 1);
7514 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_0(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
7515 swig::setslice(
self, i, j, 1, std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >());
7517 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setslice____SWIG_1(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >
const &v){
7518 swig::setslice(
self, i, j, 1, v);
7520 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delslice__(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::difference_type j){
7521 swig::delslice(
self, i, j, 1);
7523 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_0(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i){
7524 swig::erase(
self, swig::getpos(
self, i));
7526 SWIGINTERN std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > > *std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_0(std::vector< std::pair< int,int > > *
self,PySliceObject *slice){
7527 Py_ssize_t i, j, step;
7528 if( !PySlice_Check(slice) ) {
7529 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7532 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7533 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type
id = i;
7534 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
7535 return swig::getslice(
self,
id, jd, step);
7537 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_0(std::vector< std::pair< int,int > > *
self,PySliceObject *slice,std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >
const &v){
7538 Py_ssize_t i, j, step;
7539 if( !PySlice_Check(slice) ) {
7540 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7543 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7544 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type
id = i;
7545 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
7546 swig::setslice(
self,
id, jd, step, v);
7548 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_1(std::vector< std::pair< int,int > > *
self,PySliceObject *slice){
7549 Py_ssize_t i, j, step;
7550 if( !PySlice_Check(slice) ) {
7551 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7554 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7555 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type
id = i;
7556 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
7557 swig::delslice(
self,
id, jd, step);
7559 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____delitem____SWIG_1(std::vector< std::pair< int,int > > *
self,PySliceObject *slice){
7560 Py_ssize_t i, j, step;
7561 if( !PySlice_Check(slice) ) {
7562 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7565 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7566 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type
id = i;
7567 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::difference_type jd = j;
7568 swig::delslice(
self,
id, jd, step);
7570 SWIGINTERN std::vector< std::pair< int,int > >::value_type
const &std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____getitem____SWIG_1(std::vector< std::pair< int,int > >
const *
self,std::vector< std::pair< int,int > >::difference_type i){
7571 return *(swig::cgetpos(
self, i));
7573 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg____setitem____SWIG_2(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::difference_type i,std::vector< std::pair< int,int > >::value_type
const &x){
7574 *(swig::getpos(
self,i)) = x;
7576 SWIGINTERN std::vector< std::pair< int,int > >::value_type std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__pop(std::vector< std::pair< int,int > > *
self){
7577 if (self->size() == 0)
7578 throw std::out_of_range(
"pop from empty container");
7579 std::vector< std::pair< int,int >,std::allocator< std::pair< int,int > > >::value_type x =
self->back();
7583 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__append(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::value_type
const &x){
7586 SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_0(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::iterator pos){
return self->erase(pos); }
7587 SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__erase__SWIG_1(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::iterator first,std::vector< std::pair< int,int > >::iterator last){
return self->erase(first, last); }
7588 SWIGINTERN std::vector< std::pair< int,int > >::iterator std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_0(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::iterator pos,std::vector< std::pair< int,int > >::value_type
const &x){
return self->insert(pos, x); }
7589 SWIGINTERN
void std_vector_Sl_std_pair_Sl_int_Sc_int_Sg__Sg__insert__SWIG_1(std::vector< std::pair< int,int > > *
self,std::vector< std::pair< int,int > >::iterator pos,std::vector< std::pair< int,int > >::size_type n,std::vector< std::pair< int,int > >::value_type
const &x){
self->insert(pos, n, x); }
7592 template <>
struct traits<std::vector< std::vector< int,std::allocator< int > >, std::allocator< std::vector< int,std::allocator< int > > > > > {
7594 static const char* type_name() {
7595 return "std::vector<" "std::vector< int,std::allocator< int > >" "," "std::allocator< std::vector< int,std::allocator< int > > >" " >";
7600 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_vector_Sl_int_Sg__Sg__iterator(std::vector< std::vector< int > > *
self,PyObject **PYTHON_SELF){
7601 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7603 SWIGINTERN
bool std_vector_Sl_std_vector_Sl_int_Sg__Sg____nonzero__(std::vector< std::vector< int > >
const *
self){
7604 return !(
self->empty());
7606 SWIGINTERN
bool std_vector_Sl_std_vector_Sl_int_Sg__Sg____bool__(std::vector< std::vector< int > >
const *
self){
7607 return !(
self->empty());
7609 SWIGINTERN std::vector< std::vector< int > >::size_type std_vector_Sl_std_vector_Sl_int_Sg__Sg____len__(std::vector< std::vector< int > >
const *
self){
7610 return self->size();
7612 SWIGINTERN std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > > *std_vector_Sl_std_vector_Sl_int_Sg__Sg____getslice__(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i,std::vector< std::vector< int > >::difference_type j){
7613 return swig::getslice(
self, i, j, 1);
7615 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i,std::vector< std::vector< int > >::difference_type j){
7616 swig::setslice(
self, i, j, 1, std::vector< std::vector<
int,std::allocator< int > >,std::allocator< std::vector<
int,std::allocator< int > > > >());
7618 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____setslice____SWIG_1(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i,std::vector< std::vector< int > >::difference_type j,std::vector< std::vector<
int,std::allocator< int > >,std::allocator< std::vector<
int,std::allocator< int > > > >
const &v){
7619 swig::setslice(
self, i, j, 1, v);
7621 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____delslice__(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i,std::vector< std::vector< int > >::difference_type j){
7622 swig::delslice(
self, i, j, 1);
7624 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____delitem____SWIG_0(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i){
7625 swig::erase(
self, swig::getpos(
self, i));
7627 SWIGINTERN std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > > *std_vector_Sl_std_vector_Sl_int_Sg__Sg____getitem____SWIG_0(std::vector< std::vector< int > > *
self,PySliceObject *slice){
7628 Py_ssize_t i, j, step;
7629 if( !PySlice_Check(slice) ) {
7630 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7633 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7634 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type
id = i;
7635 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type jd = j;
7636 return swig::getslice(
self,
id, jd, step);
7638 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____setitem____SWIG_0(std::vector< std::vector< int > > *
self,PySliceObject *slice,std::vector< std::vector<
int,std::allocator< int > >,std::allocator< std::vector<
int,std::allocator< int > > > >
const &v){
7639 Py_ssize_t i, j, step;
7640 if( !PySlice_Check(slice) ) {
7641 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7644 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7645 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type
id = i;
7646 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type jd = j;
7647 swig::setslice(
self,
id, jd, step, v);
7649 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____setitem____SWIG_1(std::vector< std::vector< int > > *
self,PySliceObject *slice){
7650 Py_ssize_t i, j, step;
7651 if( !PySlice_Check(slice) ) {
7652 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7655 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7656 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type
id = i;
7657 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type jd = j;
7658 swig::delslice(
self,
id, jd, step);
7660 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____delitem____SWIG_1(std::vector< std::vector< int > > *
self,PySliceObject *slice){
7661 Py_ssize_t i, j, step;
7662 if( !PySlice_Check(slice) ) {
7663 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7666 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7667 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type
id = i;
7668 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::difference_type jd = j;
7669 swig::delslice(
self,
id, jd, step);
7671 SWIGINTERN std::vector< std::vector< int > >::value_type
const &std_vector_Sl_std_vector_Sl_int_Sg__Sg____getitem____SWIG_1(std::vector< std::vector< int > >
const *
self,std::vector< std::vector< int > >::difference_type i){
7672 return *(swig::cgetpos(
self, i));
7674 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg____setitem____SWIG_2(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::difference_type i,std::vector< std::vector< int > >::value_type
const &x){
7675 *(swig::getpos(
self,i)) = x;
7677 SWIGINTERN std::vector< std::vector< int > >::value_type std_vector_Sl_std_vector_Sl_int_Sg__Sg__pop(std::vector< std::vector< int > > *
self){
7678 if (self->size() == 0)
7679 throw std::out_of_range(
"pop from empty container");
7680 std::vector< std::vector< int,std::allocator< int > >,std::allocator< std::vector< int,std::allocator< int > > > >::value_type x =
self->back();
7684 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg__append(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::value_type
const &x){
7687 SWIGINTERN std::vector< std::vector< int > >::iterator std_vector_Sl_std_vector_Sl_int_Sg__Sg__erase__SWIG_0(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::iterator pos){
return self->erase(pos); }
7688 SWIGINTERN std::vector< std::vector< int > >::iterator std_vector_Sl_std_vector_Sl_int_Sg__Sg__erase__SWIG_1(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::iterator first,std::vector< std::vector< int > >::iterator last){
return self->erase(first, last); }
7689 SWIGINTERN std::vector< std::vector< int > >::iterator std_vector_Sl_std_vector_Sl_int_Sg__Sg__insert__SWIG_0(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::iterator pos,std::vector< std::vector< int > >::value_type
const &x){
return self->insert(pos, x); }
7690 SWIGINTERN
void std_vector_Sl_std_vector_Sl_int_Sg__Sg__insert__SWIG_1(std::vector< std::vector< int > > *
self,std::vector< std::vector< int > >::iterator pos,std::vector< std::vector< int > >::size_type n,std::vector< std::vector< int > >::value_type
const &x){
self->insert(pos, n, x); }
7693 template <>
struct traits<std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >, std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > > > {
7695 static const char* type_name() {
7696 return "std::vector<" "std::vector< std::complex< double >,std::allocator< std::complex< double > > >" "," "std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >" " >";
7701 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__iterator(std::vector< std::vector< std::complex< double > > > *
self,PyObject **PYTHON_SELF){
7702 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
7704 SWIGINTERN
bool std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____nonzero__(std::vector< std::vector< std::complex< double > > >
const *
self){
7705 return !(
self->empty());
7707 SWIGINTERN
bool std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____bool__(std::vector< std::vector< std::complex< double > > >
const *
self){
7708 return !(
self->empty());
7710 SWIGINTERN std::vector< std::vector< std::complex< double > > >::size_type std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____len__(std::vector< std::vector< std::complex< double > > >
const *
self){
7711 return self->size();
7713 SWIGINTERN std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > > *std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____getslice__(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i,std::vector< std::vector< std::complex< double > > >::difference_type j){
7714 return swig::getslice(
self, i, j, 1);
7716 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i,std::vector< std::vector< std::complex< double > > >::difference_type j){
7717 swig::setslice(
self, i, j, 1, std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >());
7719 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_1(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i,std::vector< std::vector< std::complex< double > > >::difference_type j,std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >
const &v){
7720 swig::setslice(
self, i, j, 1, v);
7722 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____delslice__(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i,std::vector< std::vector< std::complex< double > > >::difference_type j){
7723 swig::delslice(
self, i, j, 1);
7725 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____delitem____SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i){
7726 swig::erase(
self, swig::getpos(
self, i));
7728 SWIGINTERN std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > > *std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____getitem____SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,PySliceObject *slice){
7729 Py_ssize_t i, j, step;
7730 if( !PySlice_Check(slice) ) {
7731 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7734 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7735 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type
id = i;
7736 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type jd = j;
7737 return swig::getslice(
self,
id, jd, step);
7739 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,PySliceObject *slice,std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >
const &v){
7740 Py_ssize_t i, j, step;
7741 if( !PySlice_Check(slice) ) {
7742 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7745 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7746 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type
id = i;
7747 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type jd = j;
7748 swig::setslice(
self,
id, jd, step, v);
7750 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_1(std::vector< std::vector< std::complex< double > > > *
self,PySliceObject *slice){
7751 Py_ssize_t i, j, step;
7752 if( !PySlice_Check(slice) ) {
7753 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7756 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7757 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type
id = i;
7758 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type jd = j;
7759 swig::delslice(
self,
id, jd, step);
7761 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____delitem____SWIG_1(std::vector< std::vector< std::complex< double > > > *
self,PySliceObject *slice){
7762 Py_ssize_t i, j, step;
7763 if( !PySlice_Check(slice) ) {
7764 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
7767 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
7768 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type
id = i;
7769 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::difference_type jd = j;
7770 swig::delslice(
self,
id, jd, step);
7772 SWIGINTERN std::vector< std::vector< std::complex< double > > >::value_type
const &std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____getitem____SWIG_1(std::vector< std::vector< std::complex< double > > >
const *
self,std::vector< std::vector< std::complex< double > > >::difference_type i){
7773 return *(swig::cgetpos(
self, i));
7775 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_2(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::difference_type i,std::vector< std::vector< std::complex< double > > >::value_type
const &x){
7776 *(swig::getpos(
self,i)) = x;
7778 SWIGINTERN std::vector< std::vector< std::complex< double > > >::value_type std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__pop(std::vector< std::vector< std::complex< double > > > *
self){
7779 if (self->size() == 0)
7780 throw std::out_of_range(
"pop from empty container");
7781 std::vector< std::vector< std::complex< double >,std::allocator< std::complex< double > > >,std::allocator< std::vector< std::complex< double >,std::allocator< std::complex< double > > > > >::value_type x =
self->back();
7785 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__append(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::value_type
const &x){
7788 SWIGINTERN std::vector< std::vector< std::complex< double > > >::iterator std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__erase__SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::iterator pos){
return self->erase(pos); }
7789 SWIGINTERN std::vector< std::vector< std::complex< double > > >::iterator std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__erase__SWIG_1(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::iterator first,std::vector< std::vector< std::complex< double > > >::iterator last){
return self->erase(first, last); }
7790 SWIGINTERN std::vector< std::vector< std::complex< double > > >::iterator std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__insert__SWIG_0(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::iterator pos,std::vector< std::vector< std::complex< double > > >::value_type
const &x){
return self->insert(pos, x); }
7791 SWIGINTERN
void std_vector_Sl_std_vector_Sl_std_complex_Sl_double_Sg__Sg__Sg__insert__SWIG_1(std::vector< std::vector< std::complex< double > > > *
self,std::vector< std::vector< std::complex< double > > >::iterator pos,std::vector< std::vector< std::complex< double > > >::size_type n,std::vector< std::vector< std::complex< double > > >::value_type
const &x){
self->insert(pos, n, x); }
7794 static int VEC4_ERROR(0), EVENT_ERROR(0), BEAMPARTICLE_ERROR(0),
7798 #include "Pythia8/Pythia.h"
7799 using namespace Pythia8;
7800 #include "Pythia8/Analysis.h"
7801 #include "Pythia8/Basics.h"
7802 #include "Pythia8/BeamParticle.h"
7803 #include "Pythia8/BeamRemnants.h"
7804 #include "Pythia8/BeamShape.h"
7805 #include "Pythia8/BoseEinstein.h"
7806 #include "Pythia8/ColourReconnection.h"
7807 #include "Pythia8/ColourTracing.h"
7808 #include "Pythia8/DeuteronProduction.h"
7809 #include "Pythia8/Event.h"
7810 #include "Pythia8/FragmentationFlavZpT.h"
7811 #include "Pythia8/FragmentationSystems.h"
7812 #include "Pythia8/GammaKinematics.h"
7813 #include "Pythia8/HadronLevel.h"
7814 #include "Pythia8/HadronScatter.h"
7815 #include "Pythia8/HardDiffraction.h"
7816 #include "Pythia8/HeavyIons.h"
7817 #include "Pythia8/HelicityBasics.h"
7818 #include "Pythia8/HelicityMatrixElements.h"
7819 #include "Pythia8/HiddenValleyFragmentation.h"
7820 #include "Pythia8/History.h"
7821 #include "Pythia8/HIUserHooks.h"
7822 #include "Pythia8/Info.h"
7823 #include "Pythia8/JunctionSplitting.h"
7824 #include "Pythia8/LesHouches.h"
7825 #include "Pythia8/LHEF3.h"
7826 #include "Pythia8/Merging.h"
7827 #include "Pythia8/MergingHooks.h"
7828 #include "Pythia8/MiniStringFragmentation.h"
7829 #include "Pythia8/MultipartonInteractions.h"
7830 #include "Pythia8/ParticleData.h"
7831 #include "Pythia8/ParticleDecays.h"
7832 #include "Pythia8/PartonDistributions.h"
7833 #include "Pythia8/PartonLevel.h"
7834 #include "Pythia8/PartonSystems.h"
7835 #include "Pythia8/PartonVertex.h"
7836 #include "Pythia8/PhaseSpace.h"
7837 #include "Pythia8Plugins/aMCatNLOHooks.h"
7838 #include "Pythia8Plugins/ColourReconnectionHooks.h"
7839 #include "Pythia8Plugins/CombineMatchingInput.h"
7840 #include "Pythia8Plugins/GeneratorInput.h"
7841 #include "Pythia8Plugins/JetMatching.h"
7842 #include "Pythia8Plugins/LHAHelaconia.h"
7843 #include "Pythia8Plugins/LHAMadgraph.h"
7844 #include "Pythia8Plugins/PowhegHooks.h"
7845 #include "Pythia8Plugins/PowhegProcs.h"
7846 #include "Pythia8Plugins/ProgressLog.h"
7847 #include "Pythia8/ProcessContainer.h"
7848 #include "Pythia8/ProcessLevel.h"
7849 #include "Pythia8/PythiaComplex.h"
7850 #include "Pythia8/Pythia.h"
7851 #include "Pythia8/PythiaStdlib.h"
7852 #include "Pythia8/ResonanceDecays.h"
7853 #include "Pythia8/ResonanceWidthsDM.h"
7854 #include "Pythia8/ResonanceWidths.h"
7855 #include "Pythia8/RHadrons.h"
7856 #include "Pythia8/Ropewalk.h"
7857 #include "Pythia8/Settings.h"
7858 #include "Pythia8/SigmaCompositeness.h"
7859 #include "Pythia8/SigmaDM.h"
7860 #include "Pythia8/SigmaEW.h"
7861 #include "Pythia8/SigmaExtraDim.h"
7862 #include "Pythia8/SigmaGeneric.h"
7863 #include "Pythia8/SigmaHiggs.h"
7864 #include "Pythia8/SigmaLeftRightSym.h"
7865 #include "Pythia8/SigmaLeptoquark.h"
7866 #include "Pythia8/SigmaNewGaugeBosons.h"
7867 #include "Pythia8/SigmaOnia.h"
7868 #include "Pythia8/SigmaProcess.h"
7869 #include "Pythia8/SigmaQCD.h"
7870 #include "Pythia8/SigmaSUSY.h"
7871 #include "Pythia8/SigmaTotal.h"
7872 #include "Pythia8/SimpleSpaceShower.h"
7873 #include "Pythia8/SimpleTimeShower.h"
7874 #include "Pythia8/SimpleWeakShowerMEs.h"
7875 #include "Pythia8/SLHAinterface.h"
7876 #include "Pythia8/SpaceShower.h"
7877 #include "Pythia8/StandardModel.h"
7878 #include "Pythia8/Streams.h"
7879 #include "Pythia8/StringFragmentation.h"
7880 #include "Pythia8/StringLength.h"
7881 #include "Pythia8/SusyCouplings.h"
7882 #include "Pythia8/SusyLesHouches.h"
7883 #include "Pythia8/SusyResonanceWidths.h"
7884 #include "Pythia8/SusyWidthFunctions.h"
7885 #include "Pythia8/TauDecays.h"
7886 #include "Pythia8/TimeShower.h"
7887 #include "Pythia8/UserHooks.h"
7889 SWIGINTERN std::string Pythia8_Vec4___str__(
Pythia8::Vec4 *
self){
7890 std::ostringstream oss(std::ostringstream::out); oss << *(
self);
7892 SWIGINTERN
double Pythia8_Vec4___getitem__(
Pythia8::Vec4 *
self,
int i){
7893 if (i >= 4) {VEC4_ERROR = 1;
return 0;}
return (*(
self))[i];}
7897 std::ostringstream oss(std::ostringstream::out); oss << *(
self);
7899 SWIGINTERN std::string Pythia8_Hist___str__(
Pythia8::Hist *
self){
7900 std::ostringstream oss(std::ostringstream::out); oss << *(
self);
7911 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7914 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7917 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7920 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7923 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7926 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7929 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7932 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7935 std::ostringstream oss(std::ostringstream::out);
self->list(oss);
7938 std::streambuf* old = cout.rdbuf();
7939 std::ostringstream oss(std::ostringstream::out);
7940 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
7943 SWIGINTERNINLINE PyObject*
7944 SWIG_From_unsigned_SS_int (
unsigned int value)
7946 return PyInt_FromSize_t((
size_t) value);
7949 SWIGINTERN std::string Pythia8_Info___str__(
Pythia8::Info *
self){
7950 std::streambuf* old = cout.rdbuf();
7951 std::ostringstream oss(std::ostringstream::out);
7952 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
7955 std::streambuf* old = cout.rdbuf();
7956 std::ostringstream oss(std::ostringstream::out);
7957 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
7959 SWIGINTERN std::string Pythia8_Event___str__(
Pythia8::Event *
self){
7960 std::streambuf* old = cout.rdbuf();
7961 std::ostringstream oss(std::ostringstream::out);
7962 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
7965 if (i >= self->size()) {EVENT_ERROR = 1;
return 0;}
7966 return &(*(
self))[i];}
7968 std::streambuf* old = cout.rdbuf();
7969 std::ostringstream oss(std::ostringstream::out);
7970 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
7973 if (i >= self->size()) {COLCONFIG_ERROR = 1;
return 0;}
7974 return &(*(
self))[i];}
7975 SWIGINTERN std::string Pythia8_Wave4___str__(
Pythia8::Wave4 *
self){
7976 std::ostringstream oss(std::ostringstream::out); oss << *(
self);
7985 std::ostringstream oss(std::ostringstream::out); oss << *(
self);
7994 SWIGINTERNINLINE PyObject *
7995 SWIG_FromCharPtr(
const char *cptr)
7997 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
8002 SWIG_strnlen(
const char* s,
size_t maxlen)
8005 for (p = s; maxlen-- && *p; p++)
8011 std::streambuf* old = cout.rdbuf();
8012 std::ostringstream oss(std::ostringstream::out);
8013 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8016 std::streambuf* old = cout.rdbuf();
8017 std::ostringstream oss(std::ostringstream::out);
8018 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8021 std::streambuf* old = cout.rdbuf();
8022 std::ostringstream oss(std::ostringstream::out);
8023 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8026 std::streambuf* old = cout.rdbuf();
8027 std::ostringstream oss(std::ostringstream::out);
8028 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8031 std::streambuf* old = cout.rdbuf();
8032 std::ostringstream oss(std::ostringstream::out);
8033 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8036 std::streambuf* old = cout.rdbuf();
8037 std::ostringstream oss(std::ostringstream::out);
8038 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8041 if (i >= self->size()) {
8042 BEAMPARTICLE_ERROR = 1;
return 0;}
return &(*(
self))[i];}
8044 std::streambuf* old = cout.rdbuf();
8045 std::ostringstream oss(std::ostringstream::out);
8046 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8049 std::streambuf* old = cout.rdbuf();
8050 std::ostringstream oss(std::ostringstream::out);
8051 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8054 std::streambuf* old = cout.rdbuf();
8055 std::ostringstream oss(std::ostringstream::out);
8056 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8059 std::streambuf* old = cout.rdbuf();
8060 std::ostringstream oss(std::ostringstream::out);
8061 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8064 std::streambuf* old = cout.rdbuf();
8065 std::ostringstream oss(std::ostringstream::out);
8066 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8069 std::streambuf* old = cout.rdbuf();
8070 std::ostringstream oss(std::ostringstream::out);
8071 cout.rdbuf(oss.rdbuf());
self->list(); cout.rdbuf(old);
8077 static const char* type_name() {
return"Pythia8::Flag"; }
8083 template <>
struct traits<std::pair< std::string, Pythia8::Flag > > {
8085 static const char* type_name() {
8086 return "std::pair<" "std::string" "," "Pythia8::Flag" " >";
8093 template <>
struct traits<std::map< std::string, Pythia8::Flag, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::Flag > > > > {
8095 static const char* type_name() {
8096 return "std::map<" "std::string" "," "Pythia8::Flag" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::Flag > >" " >";
8101 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__iterator(std::map< std::string,Pythia8::Flag > *
self,PyObject **PYTHON_SELF){
8102 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8104 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____nonzero__(std::map< std::string,Pythia8::Flag >
const *
self){
8105 return !(
self->empty());
8107 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____bool__(std::map< std::string,Pythia8::Flag >
const *
self){
8108 return !(
self->empty());
8110 SWIGINTERN std::map< std::string,Pythia8::Flag >::size_type std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____len__(std::map< std::string,Pythia8::Flag >
const *
self){
8111 return self->size();
8113 SWIGINTERN std::map< std::string,Pythia8::Flag >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____getitem__(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key){
8114 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::const_iterator i =
self->find(key);
8115 if (i != self->end())
8118 throw std::out_of_range(
"key not found");
8120 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____delitem__(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key){
8121 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::iterator i =
self->find(key);
8122 if (i != self->end())
8125 throw std::out_of_range(
"key not found");
8127 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__has_key(std::map< std::string,Pythia8::Flag >
const *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key){
8128 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::const_iterator i =
self->find(key);
8129 return i !=
self->end();
8131 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__keys(std::map< std::string,Pythia8::Flag > *
self){
8132 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type size =
self->size();
8133 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8134 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8136 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8137 SWIG_PYTHON_THREAD_END_BLOCK;
8140 PyObject* keyList = PyList_New(pysize);
8141 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::const_iterator i =
self->begin();
8142 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8143 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8145 SWIG_PYTHON_THREAD_END_BLOCK;
8148 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__values(std::map< std::string,Pythia8::Flag > *
self){
8149 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type size =
self->size();
8150 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8151 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8153 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8154 SWIG_PYTHON_THREAD_END_BLOCK;
8157 PyObject* valList = PyList_New(pysize);
8158 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::const_iterator i =
self->begin();
8159 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8160 PyList_SET_ITEM(valList, j, swig::from(i->second));
8162 SWIG_PYTHON_THREAD_END_BLOCK;
8165 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__items(std::map< std::string,Pythia8::Flag > *
self){
8166 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type size =
self->size();
8167 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8168 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8170 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8171 SWIG_PYTHON_THREAD_END_BLOCK;
8174 PyObject* itemList = PyList_New(pysize);
8175 std::map< std::string,Pythia8::Flag,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Flag > > >::const_iterator i =
self->begin();
8176 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8177 PyList_SET_ITEM(itemList, j, swig::from(*i));
8179 SWIG_PYTHON_THREAD_END_BLOCK;
8182 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____contains__(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key){
8183 return self->find(key) !=
self->end();
8185 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__key_iterator(std::map< std::string,Pythia8::Flag > *
self,PyObject **PYTHON_SELF){
8186 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8188 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__value_iterator(std::map< std::string,Pythia8::Flag > *
self,PyObject **PYTHON_SELF){
8189 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8191 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key){
8194 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Flag_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::key_type
const &key,std::map< std::string,Pythia8::Flag >::mapped_type
const &x){
8197 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__asdict(std::map< std::string,Pythia8::Flag > *
self){
8200 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__erase__SWIG_1(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::iterator position){
self->erase(position); }
8201 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Flag_Sg__erase__SWIG_2(std::map< std::string,Pythia8::Flag > *
self,std::map< std::string,Pythia8::Flag >::iterator first,std::map< std::string,Pythia8::Flag >::iterator last){
self->erase(first, last); }
8206 static const char* type_name() {
return"Pythia8::Mode"; }
8212 template <>
struct traits<std::pair< std::string, Pythia8::Mode > > {
8214 static const char* type_name() {
8215 return "std::pair<" "std::string" "," "Pythia8::Mode" " >";
8222 template <>
struct traits<std::map< std::string, Pythia8::Mode, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::Mode > > > > {
8224 static const char* type_name() {
8225 return "std::map<" "std::string" "," "Pythia8::Mode" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::Mode > >" " >";
8230 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__iterator(std::map< std::string,Pythia8::Mode > *
self,PyObject **PYTHON_SELF){
8231 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8233 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____nonzero__(std::map< std::string,Pythia8::Mode >
const *
self){
8234 return !(
self->empty());
8236 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____bool__(std::map< std::string,Pythia8::Mode >
const *
self){
8237 return !(
self->empty());
8239 SWIGINTERN std::map< std::string,Pythia8::Mode >::size_type std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____len__(std::map< std::string,Pythia8::Mode >
const *
self){
8240 return self->size();
8242 SWIGINTERN std::map< std::string,Pythia8::Mode >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____getitem__(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key){
8243 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::const_iterator i =
self->find(key);
8244 if (i != self->end())
8247 throw std::out_of_range(
"key not found");
8249 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____delitem__(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key){
8250 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::iterator i =
self->find(key);
8251 if (i != self->end())
8254 throw std::out_of_range(
"key not found");
8256 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__has_key(std::map< std::string,Pythia8::Mode >
const *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key){
8257 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::const_iterator i =
self->find(key);
8258 return i !=
self->end();
8260 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__keys(std::map< std::string,Pythia8::Mode > *
self){
8261 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type size =
self->size();
8262 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8263 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8265 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8266 SWIG_PYTHON_THREAD_END_BLOCK;
8269 PyObject* keyList = PyList_New(pysize);
8270 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::const_iterator i =
self->begin();
8271 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8272 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8274 SWIG_PYTHON_THREAD_END_BLOCK;
8277 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__values(std::map< std::string,Pythia8::Mode > *
self){
8278 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type size =
self->size();
8279 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8280 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8282 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8283 SWIG_PYTHON_THREAD_END_BLOCK;
8286 PyObject* valList = PyList_New(pysize);
8287 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::const_iterator i =
self->begin();
8288 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8289 PyList_SET_ITEM(valList, j, swig::from(i->second));
8291 SWIG_PYTHON_THREAD_END_BLOCK;
8294 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__items(std::map< std::string,Pythia8::Mode > *
self){
8295 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type size =
self->size();
8296 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8297 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8299 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8300 SWIG_PYTHON_THREAD_END_BLOCK;
8303 PyObject* itemList = PyList_New(pysize);
8304 std::map< std::string,Pythia8::Mode,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Mode > > >::const_iterator i =
self->begin();
8305 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8306 PyList_SET_ITEM(itemList, j, swig::from(*i));
8308 SWIG_PYTHON_THREAD_END_BLOCK;
8311 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____contains__(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key){
8312 return self->find(key) !=
self->end();
8314 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__key_iterator(std::map< std::string,Pythia8::Mode > *
self,PyObject **PYTHON_SELF){
8315 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8317 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__value_iterator(std::map< std::string,Pythia8::Mode > *
self,PyObject **PYTHON_SELF){
8318 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8320 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key){
8323 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Mode_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::key_type
const &key,std::map< std::string,Pythia8::Mode >::mapped_type
const &x){
8326 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__asdict(std::map< std::string,Pythia8::Mode > *
self){
8329 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__erase__SWIG_1(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::iterator position){
self->erase(position); }
8330 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Mode_Sg__erase__SWIG_2(std::map< std::string,Pythia8::Mode > *
self,std::map< std::string,Pythia8::Mode >::iterator first,std::map< std::string,Pythia8::Mode >::iterator last){
self->erase(first, last); }
8335 static const char* type_name() {
return"Pythia8::Parm"; }
8341 template <>
struct traits<std::pair< std::string, Pythia8::Parm > > {
8343 static const char* type_name() {
8344 return "std::pair<" "std::string" "," "Pythia8::Parm" " >";
8351 template <>
struct traits<std::map< std::string, Pythia8::Parm, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::Parm > > > > {
8353 static const char* type_name() {
8354 return "std::map<" "std::string" "," "Pythia8::Parm" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::Parm > >" " >";
8359 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__iterator(std::map< std::string,Pythia8::Parm > *
self,PyObject **PYTHON_SELF){
8360 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8362 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____nonzero__(std::map< std::string,Pythia8::Parm >
const *
self){
8363 return !(
self->empty());
8365 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____bool__(std::map< std::string,Pythia8::Parm >
const *
self){
8366 return !(
self->empty());
8368 SWIGINTERN std::map< std::string,Pythia8::Parm >::size_type std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____len__(std::map< std::string,Pythia8::Parm >
const *
self){
8369 return self->size();
8371 SWIGINTERN std::map< std::string,Pythia8::Parm >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____getitem__(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key){
8372 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::const_iterator i =
self->find(key);
8373 if (i != self->end())
8376 throw std::out_of_range(
"key not found");
8378 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____delitem__(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key){
8379 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::iterator i =
self->find(key);
8380 if (i != self->end())
8383 throw std::out_of_range(
"key not found");
8385 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__has_key(std::map< std::string,Pythia8::Parm >
const *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key){
8386 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::const_iterator i =
self->find(key);
8387 return i !=
self->end();
8389 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__keys(std::map< std::string,Pythia8::Parm > *
self){
8390 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type size =
self->size();
8391 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8392 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8394 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8395 SWIG_PYTHON_THREAD_END_BLOCK;
8398 PyObject* keyList = PyList_New(pysize);
8399 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::const_iterator i =
self->begin();
8400 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8401 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8403 SWIG_PYTHON_THREAD_END_BLOCK;
8406 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__values(std::map< std::string,Pythia8::Parm > *
self){
8407 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type size =
self->size();
8408 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8409 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8411 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8412 SWIG_PYTHON_THREAD_END_BLOCK;
8415 PyObject* valList = PyList_New(pysize);
8416 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::const_iterator i =
self->begin();
8417 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8418 PyList_SET_ITEM(valList, j, swig::from(i->second));
8420 SWIG_PYTHON_THREAD_END_BLOCK;
8423 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__items(std::map< std::string,Pythia8::Parm > *
self){
8424 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type size =
self->size();
8425 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8426 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8428 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8429 SWIG_PYTHON_THREAD_END_BLOCK;
8432 PyObject* itemList = PyList_New(pysize);
8433 std::map< std::string,Pythia8::Parm,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Parm > > >::const_iterator i =
self->begin();
8434 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8435 PyList_SET_ITEM(itemList, j, swig::from(*i));
8437 SWIG_PYTHON_THREAD_END_BLOCK;
8440 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____contains__(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key){
8441 return self->find(key) !=
self->end();
8443 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__key_iterator(std::map< std::string,Pythia8::Parm > *
self,PyObject **PYTHON_SELF){
8444 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8446 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__value_iterator(std::map< std::string,Pythia8::Parm > *
self,PyObject **PYTHON_SELF){
8447 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8449 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key){
8452 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Parm_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::key_type
const &key,std::map< std::string,Pythia8::Parm >::mapped_type
const &x){
8455 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__asdict(std::map< std::string,Pythia8::Parm > *
self){
8458 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__erase__SWIG_1(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::iterator position){
self->erase(position); }
8459 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Parm_Sg__erase__SWIG_2(std::map< std::string,Pythia8::Parm > *
self,std::map< std::string,Pythia8::Parm >::iterator first,std::map< std::string,Pythia8::Parm >::iterator last){
self->erase(first, last); }
8464 static const char* type_name() {
return"Pythia8::Word"; }
8470 template <>
struct traits<std::pair< std::string, Pythia8::Word > > {
8472 static const char* type_name() {
8473 return "std::pair<" "std::string" "," "Pythia8::Word" " >";
8480 template <>
struct traits<std::map< std::string, Pythia8::Word, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::Word > > > > {
8482 static const char* type_name() {
8483 return "std::map<" "std::string" "," "Pythia8::Word" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::Word > >" " >";
8488 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__iterator(std::map< std::string,Pythia8::Word > *
self,PyObject **PYTHON_SELF){
8489 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8491 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Word_Sg____nonzero__(std::map< std::string,Pythia8::Word >
const *
self){
8492 return !(
self->empty());
8494 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Word_Sg____bool__(std::map< std::string,Pythia8::Word >
const *
self){
8495 return !(
self->empty());
8497 SWIGINTERN std::map< std::string,Pythia8::Word >::size_type std_map_Sl_std_string_Sc_Pythia8_Word_Sg____len__(std::map< std::string,Pythia8::Word >
const *
self){
8498 return self->size();
8500 SWIGINTERN std::map< std::string,Pythia8::Word >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_Word_Sg____getitem__(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::key_type
const &key){
8501 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::const_iterator i =
self->find(key);
8502 if (i != self->end())
8505 throw std::out_of_range(
"key not found");
8507 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Word_Sg____delitem__(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::key_type
const &key){
8508 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::iterator i =
self->find(key);
8509 if (i != self->end())
8512 throw std::out_of_range(
"key not found");
8514 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Word_Sg__has_key(std::map< std::string,Pythia8::Word >
const *
self,std::map< std::string,Pythia8::Word >::key_type
const &key){
8515 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::const_iterator i =
self->find(key);
8516 return i !=
self->end();
8518 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__keys(std::map< std::string,Pythia8::Word > *
self){
8519 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type size =
self->size();
8520 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8521 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8523 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8524 SWIG_PYTHON_THREAD_END_BLOCK;
8527 PyObject* keyList = PyList_New(pysize);
8528 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::const_iterator i =
self->begin();
8529 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8530 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8532 SWIG_PYTHON_THREAD_END_BLOCK;
8535 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__values(std::map< std::string,Pythia8::Word > *
self){
8536 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type size =
self->size();
8537 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8538 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8540 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8541 SWIG_PYTHON_THREAD_END_BLOCK;
8544 PyObject* valList = PyList_New(pysize);
8545 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::const_iterator i =
self->begin();
8546 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8547 PyList_SET_ITEM(valList, j, swig::from(i->second));
8549 SWIG_PYTHON_THREAD_END_BLOCK;
8552 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__items(std::map< std::string,Pythia8::Word > *
self){
8553 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type size =
self->size();
8554 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8555 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8557 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8558 SWIG_PYTHON_THREAD_END_BLOCK;
8561 PyObject* itemList = PyList_New(pysize);
8562 std::map< std::string,Pythia8::Word,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::Word > > >::const_iterator i =
self->begin();
8563 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8564 PyList_SET_ITEM(itemList, j, swig::from(*i));
8566 SWIG_PYTHON_THREAD_END_BLOCK;
8569 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_Word_Sg____contains__(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::key_type
const &key){
8570 return self->find(key) !=
self->end();
8572 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__key_iterator(std::map< std::string,Pythia8::Word > *
self,PyObject **PYTHON_SELF){
8573 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8575 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__value_iterator(std::map< std::string,Pythia8::Word > *
self,PyObject **PYTHON_SELF){
8576 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8578 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Word_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::key_type
const &key){
8581 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Word_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::key_type
const &key,std::map< std::string,Pythia8::Word >::mapped_type
const &x){
8584 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_Word_Sg__asdict(std::map< std::string,Pythia8::Word > *
self){
8587 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Word_Sg__erase__SWIG_1(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::iterator position){
self->erase(position); }
8588 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_Word_Sg__erase__SWIG_2(std::map< std::string,Pythia8::Word > *
self,std::map< std::string,Pythia8::Word >::iterator first,std::map< std::string,Pythia8::Word >::iterator last){
self->erase(first, last); }
8593 static const char* type_name() {
return"Pythia8::FVec"; }
8599 template <>
struct traits<std::pair< std::string, Pythia8::FVec > > {
8601 static const char* type_name() {
8602 return "std::pair<" "std::string" "," "Pythia8::FVec" " >";
8609 template <>
struct traits<std::map< std::string, Pythia8::FVec, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::FVec > > > > {
8611 static const char* type_name() {
8612 return "std::map<" "std::string" "," "Pythia8::FVec" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::FVec > >" " >";
8617 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__iterator(std::map< std::string,Pythia8::FVec > *
self,PyObject **PYTHON_SELF){
8618 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8620 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____nonzero__(std::map< std::string,Pythia8::FVec >
const *
self){
8621 return !(
self->empty());
8623 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____bool__(std::map< std::string,Pythia8::FVec >
const *
self){
8624 return !(
self->empty());
8626 SWIGINTERN std::map< std::string,Pythia8::FVec >::size_type std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____len__(std::map< std::string,Pythia8::FVec >
const *
self){
8627 return self->size();
8629 SWIGINTERN std::map< std::string,Pythia8::FVec >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____getitem__(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key){
8630 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::const_iterator i =
self->find(key);
8631 if (i != self->end())
8634 throw std::out_of_range(
"key not found");
8636 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____delitem__(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key){
8637 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::iterator i =
self->find(key);
8638 if (i != self->end())
8641 throw std::out_of_range(
"key not found");
8643 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__has_key(std::map< std::string,Pythia8::FVec >
const *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key){
8644 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::const_iterator i =
self->find(key);
8645 return i !=
self->end();
8647 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__keys(std::map< std::string,Pythia8::FVec > *
self){
8648 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type size =
self->size();
8649 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8650 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8652 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8653 SWIG_PYTHON_THREAD_END_BLOCK;
8656 PyObject* keyList = PyList_New(pysize);
8657 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::const_iterator i =
self->begin();
8658 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8659 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8661 SWIG_PYTHON_THREAD_END_BLOCK;
8664 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__values(std::map< std::string,Pythia8::FVec > *
self){
8665 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type size =
self->size();
8666 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8667 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8669 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8670 SWIG_PYTHON_THREAD_END_BLOCK;
8673 PyObject* valList = PyList_New(pysize);
8674 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::const_iterator i =
self->begin();
8675 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8676 PyList_SET_ITEM(valList, j, swig::from(i->second));
8678 SWIG_PYTHON_THREAD_END_BLOCK;
8681 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__items(std::map< std::string,Pythia8::FVec > *
self){
8682 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type size =
self->size();
8683 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8684 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8686 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8687 SWIG_PYTHON_THREAD_END_BLOCK;
8690 PyObject* itemList = PyList_New(pysize);
8691 std::map< std::string,Pythia8::FVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::FVec > > >::const_iterator i =
self->begin();
8692 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8693 PyList_SET_ITEM(itemList, j, swig::from(*i));
8695 SWIG_PYTHON_THREAD_END_BLOCK;
8698 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____contains__(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key){
8699 return self->find(key) !=
self->end();
8701 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__key_iterator(std::map< std::string,Pythia8::FVec > *
self,PyObject **PYTHON_SELF){
8702 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8704 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__value_iterator(std::map< std::string,Pythia8::FVec > *
self,PyObject **PYTHON_SELF){
8705 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8707 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key){
8710 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_FVec_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::key_type
const &key,std::map< std::string,Pythia8::FVec >::mapped_type
const &x){
8713 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__asdict(std::map< std::string,Pythia8::FVec > *
self){
8716 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__erase__SWIG_1(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::iterator position){
self->erase(position); }
8717 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_FVec_Sg__erase__SWIG_2(std::map< std::string,Pythia8::FVec > *
self,std::map< std::string,Pythia8::FVec >::iterator first,std::map< std::string,Pythia8::FVec >::iterator last){
self->erase(first, last); }
8722 static const char* type_name() {
return"Pythia8::MVec"; }
8728 template <>
struct traits<std::pair< std::string, Pythia8::MVec > > {
8730 static const char* type_name() {
8731 return "std::pair<" "std::string" "," "Pythia8::MVec" " >";
8738 template <>
struct traits<std::map< std::string, Pythia8::MVec, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::MVec > > > > {
8740 static const char* type_name() {
8741 return "std::map<" "std::string" "," "Pythia8::MVec" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::MVec > >" " >";
8746 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__iterator(std::map< std::string,Pythia8::MVec > *
self,PyObject **PYTHON_SELF){
8747 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8749 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____nonzero__(std::map< std::string,Pythia8::MVec >
const *
self){
8750 return !(
self->empty());
8752 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____bool__(std::map< std::string,Pythia8::MVec >
const *
self){
8753 return !(
self->empty());
8755 SWIGINTERN std::map< std::string,Pythia8::MVec >::size_type std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____len__(std::map< std::string,Pythia8::MVec >
const *
self){
8756 return self->size();
8758 SWIGINTERN std::map< std::string,Pythia8::MVec >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____getitem__(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key){
8759 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::const_iterator i =
self->find(key);
8760 if (i != self->end())
8763 throw std::out_of_range(
"key not found");
8765 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____delitem__(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key){
8766 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::iterator i =
self->find(key);
8767 if (i != self->end())
8770 throw std::out_of_range(
"key not found");
8772 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__has_key(std::map< std::string,Pythia8::MVec >
const *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key){
8773 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::const_iterator i =
self->find(key);
8774 return i !=
self->end();
8776 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__keys(std::map< std::string,Pythia8::MVec > *
self){
8777 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type size =
self->size();
8778 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8779 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8781 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8782 SWIG_PYTHON_THREAD_END_BLOCK;
8785 PyObject* keyList = PyList_New(pysize);
8786 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::const_iterator i =
self->begin();
8787 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8788 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8790 SWIG_PYTHON_THREAD_END_BLOCK;
8793 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__values(std::map< std::string,Pythia8::MVec > *
self){
8794 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type size =
self->size();
8795 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8796 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8798 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8799 SWIG_PYTHON_THREAD_END_BLOCK;
8802 PyObject* valList = PyList_New(pysize);
8803 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::const_iterator i =
self->begin();
8804 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8805 PyList_SET_ITEM(valList, j, swig::from(i->second));
8807 SWIG_PYTHON_THREAD_END_BLOCK;
8810 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__items(std::map< std::string,Pythia8::MVec > *
self){
8811 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type size =
self->size();
8812 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8813 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8815 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8816 SWIG_PYTHON_THREAD_END_BLOCK;
8819 PyObject* itemList = PyList_New(pysize);
8820 std::map< std::string,Pythia8::MVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::MVec > > >::const_iterator i =
self->begin();
8821 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8822 PyList_SET_ITEM(itemList, j, swig::from(*i));
8824 SWIG_PYTHON_THREAD_END_BLOCK;
8827 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____contains__(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key){
8828 return self->find(key) !=
self->end();
8830 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__key_iterator(std::map< std::string,Pythia8::MVec > *
self,PyObject **PYTHON_SELF){
8831 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8833 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__value_iterator(std::map< std::string,Pythia8::MVec > *
self,PyObject **PYTHON_SELF){
8834 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8836 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key){
8839 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_MVec_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::key_type
const &key,std::map< std::string,Pythia8::MVec >::mapped_type
const &x){
8842 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__asdict(std::map< std::string,Pythia8::MVec > *
self){
8845 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__erase__SWIG_1(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::iterator position){
self->erase(position); }
8846 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_MVec_Sg__erase__SWIG_2(std::map< std::string,Pythia8::MVec > *
self,std::map< std::string,Pythia8::MVec >::iterator first,std::map< std::string,Pythia8::MVec >::iterator last){
self->erase(first, last); }
8851 static const char* type_name() {
return"Pythia8::PVec"; }
8857 template <>
struct traits<std::pair< std::string, Pythia8::PVec > > {
8859 static const char* type_name() {
8860 return "std::pair<" "std::string" "," "Pythia8::PVec" " >";
8867 template <>
struct traits<std::map< std::string, Pythia8::PVec, std::less< std::string >, std::allocator< std::pair< std::string const,Pythia8::PVec > > > > {
8869 static const char* type_name() {
8870 return "std::map<" "std::string" "," "Pythia8::PVec" "," "std::less< std::string >" "," "std::allocator< std::pair< std::string const,Pythia8::PVec > >" " >";
8875 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__iterator(std::map< std::string,Pythia8::PVec > *
self,PyObject **PYTHON_SELF){
8876 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8878 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____nonzero__(std::map< std::string,Pythia8::PVec >
const *
self){
8879 return !(
self->empty());
8881 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____bool__(std::map< std::string,Pythia8::PVec >
const *
self){
8882 return !(
self->empty());
8884 SWIGINTERN std::map< std::string,Pythia8::PVec >::size_type std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____len__(std::map< std::string,Pythia8::PVec >
const *
self){
8885 return self->size();
8887 SWIGINTERN std::map< std::string,Pythia8::PVec >::mapped_type
const &std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____getitem__(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key){
8888 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::const_iterator i =
self->find(key);
8889 if (i != self->end())
8892 throw std::out_of_range(
"key not found");
8894 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____delitem__(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key){
8895 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::iterator i =
self->find(key);
8896 if (i != self->end())
8899 throw std::out_of_range(
"key not found");
8901 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__has_key(std::map< std::string,Pythia8::PVec >
const *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key){
8902 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::const_iterator i =
self->find(key);
8903 return i !=
self->end();
8905 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__keys(std::map< std::string,Pythia8::PVec > *
self){
8906 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type size =
self->size();
8907 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8908 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8910 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8911 SWIG_PYTHON_THREAD_END_BLOCK;
8914 PyObject* keyList = PyList_New(pysize);
8915 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::const_iterator i =
self->begin();
8916 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8917 PyList_SET_ITEM(keyList, j, swig::from(i->first));
8919 SWIG_PYTHON_THREAD_END_BLOCK;
8922 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__values(std::map< std::string,Pythia8::PVec > *
self){
8923 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type size =
self->size();
8924 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8925 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8927 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8928 SWIG_PYTHON_THREAD_END_BLOCK;
8931 PyObject* valList = PyList_New(pysize);
8932 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::const_iterator i =
self->begin();
8933 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8934 PyList_SET_ITEM(valList, j, swig::from(i->second));
8936 SWIG_PYTHON_THREAD_END_BLOCK;
8939 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__items(std::map< std::string,Pythia8::PVec > *
self){
8940 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type size =
self->size();
8941 Py_ssize_t pysize = (size <= (std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::size_type) INT_MAX) ? (Py_ssize_t) size : -1;
8942 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
8944 PyErr_SetString(PyExc_OverflowError,
"map size not valid in python");
8945 SWIG_PYTHON_THREAD_END_BLOCK;
8948 PyObject* itemList = PyList_New(pysize);
8949 std::map< std::string,Pythia8::PVec,std::less< std::string >,std::allocator< std::pair< std::string const,Pythia8::PVec > > >::const_iterator i =
self->begin();
8950 for (Py_ssize_t j = 0; j < pysize; ++i, ++j) {
8951 PyList_SET_ITEM(itemList, j, swig::from(*i));
8953 SWIG_PYTHON_THREAD_END_BLOCK;
8956 SWIGINTERN
bool std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____contains__(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key){
8957 return self->find(key) !=
self->end();
8959 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__key_iterator(std::map< std::string,Pythia8::PVec > *
self,PyObject **PYTHON_SELF){
8960 return swig::make_output_key_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8962 SWIGINTERN
swig::SwigPyIterator *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__value_iterator(std::map< std::string,Pythia8::PVec > *
self,PyObject **PYTHON_SELF){
8963 return swig::make_output_value_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8965 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____setitem____SWIG_0(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key){
8968 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_PVec_Sg____setitem____SWIG_1(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::key_type
const &key,std::map< std::string,Pythia8::PVec >::mapped_type
const &x){
8971 SWIGINTERN PyObject *std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__asdict(std::map< std::string,Pythia8::PVec > *
self){
8974 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__erase__SWIG_1(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::iterator position){
self->erase(position); }
8975 SWIGINTERN
void std_map_Sl_std_string_Sc_Pythia8_PVec_Sg__erase__SWIG_2(std::map< std::string,Pythia8::PVec > *
self,std::map< std::string,Pythia8::PVec >::iterator first,std::map< std::string,Pythia8::PVec >::iterator last){
self->erase(first, last); }
8980 static const char* type_name() {
return"Pythia8::Clustering"; }
8986 template <>
struct traits<std::vector< Pythia8::Clustering, std::allocator< Pythia8::Clustering > > > {
8988 static const char* type_name() {
8989 return "std::vector<" "Pythia8::Clustering" "," "std::allocator< Pythia8::Clustering >" " >";
8994 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_Clustering_Sg__iterator(std::vector< Pythia8::Clustering > *
self,PyObject **PYTHON_SELF){
8995 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
8997 SWIGINTERN
bool std_vector_Sl_Pythia8_Clustering_Sg____nonzero__(std::vector< Pythia8::Clustering >
const *
self){
8998 return !(
self->empty());
9000 SWIGINTERN
bool std_vector_Sl_Pythia8_Clustering_Sg____bool__(std::vector< Pythia8::Clustering >
const *
self){
9001 return !(
self->empty());
9003 SWIGINTERN std::vector< Pythia8::Clustering >::size_type std_vector_Sl_Pythia8_Clustering_Sg____len__(std::vector< Pythia8::Clustering >
const *
self){
9004 return self->size();
9006 SWIGINTERN std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > > *std_vector_Sl_Pythia8_Clustering_Sg____getslice__(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i,std::vector< Pythia8::Clustering >::difference_type j){
9007 return swig::getslice(
self, i, j, 1);
9009 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____setslice____SWIG_0(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i,std::vector< Pythia8::Clustering >::difference_type j){
9010 swig::setslice(
self, i, j, 1, std::vector<
Pythia8::Clustering,std::allocator< Pythia8::Clustering > >());
9012 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____setslice____SWIG_1(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i,std::vector< Pythia8::Clustering >::difference_type j,std::vector<
Pythia8::Clustering,std::allocator< Pythia8::Clustering > >
const &v){
9013 swig::setslice(
self, i, j, 1, v);
9015 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____delslice__(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i,std::vector< Pythia8::Clustering >::difference_type j){
9016 swig::delslice(
self, i, j, 1);
9018 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____delitem____SWIG_0(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i){
9019 swig::erase(
self, swig::getpos(
self, i));
9021 SWIGINTERN std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > > *std_vector_Sl_Pythia8_Clustering_Sg____getitem____SWIG_0(std::vector< Pythia8::Clustering > *
self,PySliceObject *slice){
9022 Py_ssize_t i, j, step;
9023 if( !PySlice_Check(slice) ) {
9024 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9027 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9028 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type
id = i;
9029 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type jd = j;
9030 return swig::getslice(
self,
id, jd, step);
9032 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____setitem____SWIG_0(std::vector< Pythia8::Clustering > *
self,PySliceObject *slice,std::vector<
Pythia8::Clustering,std::allocator< Pythia8::Clustering > >
const &v){
9033 Py_ssize_t i, j, step;
9034 if( !PySlice_Check(slice) ) {
9035 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9038 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9039 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type
id = i;
9040 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type jd = j;
9041 swig::setslice(
self,
id, jd, step, v);
9043 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____setitem____SWIG_1(std::vector< Pythia8::Clustering > *
self,PySliceObject *slice){
9044 Py_ssize_t i, j, step;
9045 if( !PySlice_Check(slice) ) {
9046 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9049 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9050 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type
id = i;
9051 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type jd = j;
9052 swig::delslice(
self,
id, jd, step);
9054 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____delitem____SWIG_1(std::vector< Pythia8::Clustering > *
self,PySliceObject *slice){
9055 Py_ssize_t i, j, step;
9056 if( !PySlice_Check(slice) ) {
9057 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9060 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9061 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type
id = i;
9062 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::difference_type jd = j;
9063 swig::delslice(
self,
id, jd, step);
9065 SWIGINTERN std::vector< Pythia8::Clustering >::value_type
const &std_vector_Sl_Pythia8_Clustering_Sg____getitem____SWIG_1(std::vector< Pythia8::Clustering >
const *
self,std::vector< Pythia8::Clustering >::difference_type i){
9066 return *(swig::cgetpos(
self, i));
9068 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg____setitem____SWIG_2(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::difference_type i,std::vector< Pythia8::Clustering >::value_type
const &x){
9069 *(swig::getpos(
self,i)) = x;
9071 SWIGINTERN std::vector< Pythia8::Clustering >::value_type std_vector_Sl_Pythia8_Clustering_Sg__pop(std::vector< Pythia8::Clustering > *
self){
9072 if (self->size() == 0)
9073 throw std::out_of_range(
"pop from empty container");
9074 std::vector< Pythia8::Clustering,std::allocator< Pythia8::Clustering > >::value_type x =
self->back();
9078 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg__append(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::value_type
const &x){
9081 SWIGINTERN std::vector< Pythia8::Clustering >::iterator std_vector_Sl_Pythia8_Clustering_Sg__erase__SWIG_0(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::iterator pos){
return self->erase(pos); }
9082 SWIGINTERN std::vector< Pythia8::Clustering >::iterator std_vector_Sl_Pythia8_Clustering_Sg__erase__SWIG_1(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::iterator first,std::vector< Pythia8::Clustering >::iterator last){
return self->erase(first, last); }
9083 SWIGINTERN std::vector< Pythia8::Clustering >::iterator std_vector_Sl_Pythia8_Clustering_Sg__insert__SWIG_0(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::iterator pos,std::vector< Pythia8::Clustering >::value_type
const &x){
return self->insert(pos, x); }
9084 SWIGINTERN
void std_vector_Sl_Pythia8_Clustering_Sg__insert__SWIG_1(std::vector< Pythia8::Clustering > *
self,std::vector< Pythia8::Clustering >::iterator pos,std::vector< Pythia8::Clustering >::size_type n,std::vector< Pythia8::Clustering >::value_type
const &x){
self->insert(pos, n, x); }
9089 static const char* type_name() {
return"Pythia8::HelicityParticle"; }
9095 template <>
struct traits<std::vector< Pythia8::HelicityParticle, std::allocator< Pythia8::HelicityParticle > > > {
9097 static const char* type_name() {
9098 return "std::vector<" "Pythia8::HelicityParticle" "," "std::allocator< Pythia8::HelicityParticle >" " >";
9103 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_HelicityParticle_Sg__iterator(std::vector< Pythia8::HelicityParticle > *
self,PyObject **PYTHON_SELF){
9104 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
9106 SWIGINTERN
bool std_vector_Sl_Pythia8_HelicityParticle_Sg____nonzero__(std::vector< Pythia8::HelicityParticle >
const *
self){
9107 return !(
self->empty());
9109 SWIGINTERN
bool std_vector_Sl_Pythia8_HelicityParticle_Sg____bool__(std::vector< Pythia8::HelicityParticle >
const *
self){
9110 return !(
self->empty());
9112 SWIGINTERN std::vector< Pythia8::HelicityParticle >::size_type std_vector_Sl_Pythia8_HelicityParticle_Sg____len__(std::vector< Pythia8::HelicityParticle >
const *
self){
9113 return self->size();
9115 SWIGINTERN std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > > *std_vector_Sl_Pythia8_HelicityParticle_Sg____getslice__(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i,std::vector< Pythia8::HelicityParticle >::difference_type j){
9116 return swig::getslice(
self, i, j, 1);
9118 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____setslice____SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i,std::vector< Pythia8::HelicityParticle >::difference_type j){
9121 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____setslice____SWIG_1(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i,std::vector< Pythia8::HelicityParticle >::difference_type j,std::vector<
Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >
const &v){
9122 swig::setslice(
self, i, j, 1, v);
9124 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____delslice__(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i,std::vector< Pythia8::HelicityParticle >::difference_type j){
9125 swig::delslice(
self, i, j, 1);
9127 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____delitem____SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i){
9128 swig::erase(
self, swig::getpos(
self, i));
9130 SWIGINTERN std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > > *std_vector_Sl_Pythia8_HelicityParticle_Sg____getitem____SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,PySliceObject *slice){
9131 Py_ssize_t i, j, step;
9132 if( !PySlice_Check(slice) ) {
9133 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9136 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9137 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type
id = i;
9138 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type jd = j;
9139 return swig::getslice(
self,
id, jd, step);
9141 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____setitem____SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,PySliceObject *slice,std::vector<
Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >
const &v){
9142 Py_ssize_t i, j, step;
9143 if( !PySlice_Check(slice) ) {
9144 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9147 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9148 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type
id = i;
9149 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type jd = j;
9150 swig::setslice(
self,
id, jd, step, v);
9152 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____setitem____SWIG_1(std::vector< Pythia8::HelicityParticle > *
self,PySliceObject *slice){
9153 Py_ssize_t i, j, step;
9154 if( !PySlice_Check(slice) ) {
9155 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9158 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9159 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type
id = i;
9160 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type jd = j;
9161 swig::delslice(
self,
id, jd, step);
9163 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____delitem____SWIG_1(std::vector< Pythia8::HelicityParticle > *
self,PySliceObject *slice){
9164 Py_ssize_t i, j, step;
9165 if( !PySlice_Check(slice) ) {
9166 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9169 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9170 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type
id = i;
9171 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::difference_type jd = j;
9172 swig::delslice(
self,
id, jd, step);
9174 SWIGINTERN std::vector< Pythia8::HelicityParticle >::value_type
const &std_vector_Sl_Pythia8_HelicityParticle_Sg____getitem____SWIG_1(std::vector< Pythia8::HelicityParticle >
const *
self,std::vector< Pythia8::HelicityParticle >::difference_type i){
9175 return *(swig::cgetpos(
self, i));
9177 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg____setitem____SWIG_2(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::difference_type i,std::vector< Pythia8::HelicityParticle >::value_type
const &x){
9178 *(swig::getpos(
self,i)) = x;
9180 SWIGINTERN std::vector< Pythia8::HelicityParticle >::value_type std_vector_Sl_Pythia8_HelicityParticle_Sg__pop(std::vector< Pythia8::HelicityParticle > *
self){
9181 if (self->size() == 0)
9182 throw std::out_of_range(
"pop from empty container");
9183 std::vector< Pythia8::HelicityParticle,std::allocator< Pythia8::HelicityParticle > >::value_type x =
self->back();
9187 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg__append(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::value_type
const &x){
9190 SWIGINTERN std::vector< Pythia8::HelicityParticle >::iterator std_vector_Sl_Pythia8_HelicityParticle_Sg__erase__SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::iterator pos){
return self->erase(pos); }
9191 SWIGINTERN std::vector< Pythia8::HelicityParticle >::iterator std_vector_Sl_Pythia8_HelicityParticle_Sg__erase__SWIG_1(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::iterator first,std::vector< Pythia8::HelicityParticle >::iterator last){
return self->erase(first, last); }
9192 SWIGINTERN std::vector< Pythia8::HelicityParticle >::iterator std_vector_Sl_Pythia8_HelicityParticle_Sg__insert__SWIG_0(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::iterator pos,std::vector< Pythia8::HelicityParticle >::value_type
const &x){
return self->insert(pos, x); }
9193 SWIGINTERN
void std_vector_Sl_Pythia8_HelicityParticle_Sg__insert__SWIG_1(std::vector< Pythia8::HelicityParticle > *
self,std::vector< Pythia8::HelicityParticle >::iterator pos,std::vector< Pythia8::HelicityParticle >::size_type n,std::vector< Pythia8::HelicityParticle >::value_type
const &x){
self->insert(pos, n, x); }
9198 static const char* type_name() {
return"Pythia8::ProcessContainer"; }
9204 template <>
struct traits<std::vector< Pythia8::ProcessContainer*, std::allocator< Pythia8::ProcessContainer * > > > {
9206 static const char* type_name() {
9207 return "std::vector<" "Pythia8::ProcessContainer" " *," "std::allocator< Pythia8::ProcessContainer * >" " >";
9212 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__iterator(std::vector< Pythia8::ProcessContainer * > *
self,PyObject **PYTHON_SELF){
9213 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
9215 SWIGINTERN
bool std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____nonzero__(std::vector< Pythia8::ProcessContainer * >
const *
self){
9216 return !(
self->empty());
9218 SWIGINTERN
bool std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____bool__(std::vector< Pythia8::ProcessContainer * >
const *
self){
9219 return !(
self->empty());
9221 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::size_type std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____len__(std::vector< Pythia8::ProcessContainer * >
const *
self){
9222 return self->size();
9224 SWIGINTERN std::vector< Pythia8::ProcessContainer *,std::allocator< Pythia8::ProcessContainer * > > *std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____getslice__(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i,std::vector< Pythia8::ProcessContainer * >::difference_type j){
9225 return swig::getslice(
self, i, j, 1);
9227 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____setslice____SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i,std::vector< Pythia8::ProcessContainer * >::difference_type j){
9228 swig::setslice(
self, i, j, 1, std::vector<
Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >());
9230 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____setslice____SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i,std::vector< Pythia8::ProcessContainer * >::difference_type j,std::vector<
Pythia8::ProcessContainer *,std::allocator< Pythia8::ProcessContainer * > >
const &v){
9231 swig::setslice(
self, i, j, 1, v);
9233 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____delslice__(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i,std::vector< Pythia8::ProcessContainer * >::difference_type j){
9234 swig::delslice(
self, i, j, 1);
9236 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____delitem____SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i){
9237 swig::erase(
self, swig::getpos(
self, i));
9239 SWIGINTERN std::vector< Pythia8::ProcessContainer *,std::allocator< Pythia8::ProcessContainer * > > *std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____getitem____SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,PySliceObject *slice){
9240 Py_ssize_t i, j, step;
9241 if( !PySlice_Check(slice) ) {
9242 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9245 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9246 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type
id = i;
9247 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type jd = j;
9248 return swig::getslice(
self,
id, jd, step);
9250 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____setitem____SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,PySliceObject *slice,std::vector<
Pythia8::ProcessContainer *,std::allocator< Pythia8::ProcessContainer * > >
const &v){
9251 Py_ssize_t i, j, step;
9252 if( !PySlice_Check(slice) ) {
9253 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9256 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9257 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type
id = i;
9258 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type jd = j;
9259 swig::setslice(
self,
id, jd, step, v);
9261 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____setitem____SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,PySliceObject *slice){
9262 Py_ssize_t i, j, step;
9263 if( !PySlice_Check(slice) ) {
9264 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9267 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9268 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type
id = i;
9269 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type jd = j;
9270 swig::delslice(
self,
id, jd, step);
9272 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____delitem____SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,PySliceObject *slice){
9273 Py_ssize_t i, j, step;
9274 if( !PySlice_Check(slice) ) {
9275 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9278 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9279 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type
id = i;
9280 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::difference_type jd = j;
9281 swig::delslice(
self,
id, jd, step);
9283 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::value_type std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____getitem____SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i){
9284 return *(swig::cgetpos(
self, i));
9286 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg____setitem____SWIG_2(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::difference_type i,std::vector< Pythia8::ProcessContainer * >::value_type x){
9287 *(swig::getpos(
self,i)) = x;
9289 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::value_type std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__pop(std::vector< Pythia8::ProcessContainer * > *
self){
9290 if (self->size() == 0)
9291 throw std::out_of_range(
"pop from empty container");
9292 std::vector< Pythia8::ProcessContainer*,std::allocator< Pythia8::ProcessContainer * > >::value_type x =
self->back();
9296 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__append(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::value_type x){
9299 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::iterator std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__erase__SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::iterator pos){
return self->erase(pos); }
9300 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::iterator std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__erase__SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::iterator first,std::vector< Pythia8::ProcessContainer * >::iterator last){
return self->erase(first, last); }
9301 SWIGINTERN std::vector< Pythia8::ProcessContainer * >::iterator std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__insert__SWIG_0(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::iterator pos,std::vector< Pythia8::ProcessContainer * >::value_type x){
return self->insert(pos, x); }
9302 SWIGINTERN
void std_vector_Sl_Pythia8_ProcessContainer_Sm__Sg__insert__SWIG_1(std::vector< Pythia8::ProcessContainer * > *
self,std::vector< Pythia8::ProcessContainer * >::iterator pos,std::vector< Pythia8::ProcessContainer * >::size_type n,std::vector< Pythia8::ProcessContainer * >::value_type x){
self->insert(pos, n, x); }
9307 static const char* type_name() {
return"Pythia8::ResonanceWidths"; }
9313 template <>
struct traits<std::vector< Pythia8::ResonanceWidths*, std::allocator< Pythia8::ResonanceWidths * > > > {
9315 static const char* type_name() {
9316 return "std::vector<" "Pythia8::ResonanceWidths" " *," "std::allocator< Pythia8::ResonanceWidths * >" " >";
9321 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__iterator(std::vector< Pythia8::ResonanceWidths * > *
self,PyObject **PYTHON_SELF){
9322 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
9324 SWIGINTERN
bool std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____nonzero__(std::vector< Pythia8::ResonanceWidths * >
const *
self){
9325 return !(
self->empty());
9327 SWIGINTERN
bool std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____bool__(std::vector< Pythia8::ResonanceWidths * >
const *
self){
9328 return !(
self->empty());
9330 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::size_type std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____len__(std::vector< Pythia8::ResonanceWidths * >
const *
self){
9331 return self->size();
9333 SWIGINTERN std::vector< Pythia8::ResonanceWidths *,std::allocator< Pythia8::ResonanceWidths * > > *std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____getslice__(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i,std::vector< Pythia8::ResonanceWidths * >::difference_type j){
9334 return swig::getslice(
self, i, j, 1);
9336 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____setslice____SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i,std::vector< Pythia8::ResonanceWidths * >::difference_type j){
9337 swig::setslice(
self, i, j, 1, std::vector<
Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >());
9339 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____setslice____SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i,std::vector< Pythia8::ResonanceWidths * >::difference_type j,std::vector<
Pythia8::ResonanceWidths *,std::allocator< Pythia8::ResonanceWidths * > >
const &v){
9340 swig::setslice(
self, i, j, 1, v);
9342 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____delslice__(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i,std::vector< Pythia8::ResonanceWidths * >::difference_type j){
9343 swig::delslice(
self, i, j, 1);
9345 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____delitem____SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i){
9346 swig::erase(
self, swig::getpos(
self, i));
9348 SWIGINTERN std::vector< Pythia8::ResonanceWidths *,std::allocator< Pythia8::ResonanceWidths * > > *std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____getitem____SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,PySliceObject *slice){
9349 Py_ssize_t i, j, step;
9350 if( !PySlice_Check(slice) ) {
9351 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9354 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9355 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type
id = i;
9356 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type jd = j;
9357 return swig::getslice(
self,
id, jd, step);
9359 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____setitem____SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,PySliceObject *slice,std::vector<
Pythia8::ResonanceWidths *,std::allocator< Pythia8::ResonanceWidths * > >
const &v){
9360 Py_ssize_t i, j, step;
9361 if( !PySlice_Check(slice) ) {
9362 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9365 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9366 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type
id = i;
9367 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type jd = j;
9368 swig::setslice(
self,
id, jd, step, v);
9370 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____setitem____SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,PySliceObject *slice){
9371 Py_ssize_t i, j, step;
9372 if( !PySlice_Check(slice) ) {
9373 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9376 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9377 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type
id = i;
9378 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type jd = j;
9379 swig::delslice(
self,
id, jd, step);
9381 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____delitem____SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,PySliceObject *slice){
9382 Py_ssize_t i, j, step;
9383 if( !PySlice_Check(slice) ) {
9384 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9387 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9388 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type
id = i;
9389 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::difference_type jd = j;
9390 swig::delslice(
self,
id, jd, step);
9392 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::value_type std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____getitem____SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i){
9393 return *(swig::cgetpos(
self, i));
9395 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg____setitem____SWIG_2(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::difference_type i,std::vector< Pythia8::ResonanceWidths * >::value_type x){
9396 *(swig::getpos(
self,i)) = x;
9398 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::value_type std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__pop(std::vector< Pythia8::ResonanceWidths * > *
self){
9399 if (self->size() == 0)
9400 throw std::out_of_range(
"pop from empty container");
9401 std::vector< Pythia8::ResonanceWidths*,std::allocator< Pythia8::ResonanceWidths * > >::value_type x =
self->back();
9405 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__append(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::value_type x){
9408 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::iterator std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__erase__SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::iterator pos){
return self->erase(pos); }
9409 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::iterator std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__erase__SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::iterator first,std::vector< Pythia8::ResonanceWidths * >::iterator last){
return self->erase(first, last); }
9410 SWIGINTERN std::vector< Pythia8::ResonanceWidths * >::iterator std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__insert__SWIG_0(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::iterator pos,std::vector< Pythia8::ResonanceWidths * >::value_type x){
return self->insert(pos, x); }
9411 SWIGINTERN
void std_vector_Sl_Pythia8_ResonanceWidths_Sm__Sg__insert__SWIG_1(std::vector< Pythia8::ResonanceWidths * > *
self,std::vector< Pythia8::ResonanceWidths * >::iterator pos,std::vector< Pythia8::ResonanceWidths * >::size_type n,std::vector< Pythia8::ResonanceWidths * >::value_type x){
self->insert(pos, n, x); }
9416 static const char* type_name() {
return"Pythia8::SigmaProcess"; }
9422 template <>
struct traits<std::vector< Pythia8::SigmaProcess*, std::allocator< Pythia8::SigmaProcess * > > > {
9424 static const char* type_name() {
9425 return "std::vector<" "Pythia8::SigmaProcess" " *," "std::allocator< Pythia8::SigmaProcess * >" " >";
9430 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__iterator(std::vector< Pythia8::SigmaProcess * > *
self,PyObject **PYTHON_SELF){
9431 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
9433 SWIGINTERN
bool std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____nonzero__(std::vector< Pythia8::SigmaProcess * >
const *
self){
9434 return !(
self->empty());
9436 SWIGINTERN
bool std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____bool__(std::vector< Pythia8::SigmaProcess * >
const *
self){
9437 return !(
self->empty());
9439 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::size_type std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____len__(std::vector< Pythia8::SigmaProcess * >
const *
self){
9440 return self->size();
9442 SWIGINTERN std::vector< Pythia8::SigmaProcess *,std::allocator< Pythia8::SigmaProcess * > > *std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____getslice__(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i,std::vector< Pythia8::SigmaProcess * >::difference_type j){
9443 return swig::getslice(
self, i, j, 1);
9445 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____setslice____SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i,std::vector< Pythia8::SigmaProcess * >::difference_type j){
9446 swig::setslice(
self, i, j, 1, std::vector<
Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >());
9448 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____setslice____SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i,std::vector< Pythia8::SigmaProcess * >::difference_type j,std::vector<
Pythia8::SigmaProcess *,std::allocator< Pythia8::SigmaProcess * > >
const &v){
9449 swig::setslice(
self, i, j, 1, v);
9451 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____delslice__(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i,std::vector< Pythia8::SigmaProcess * >::difference_type j){
9452 swig::delslice(
self, i, j, 1);
9454 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____delitem____SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i){
9455 swig::erase(
self, swig::getpos(
self, i));
9457 SWIGINTERN std::vector< Pythia8::SigmaProcess *,std::allocator< Pythia8::SigmaProcess * > > *std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____getitem____SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,PySliceObject *slice){
9458 Py_ssize_t i, j, step;
9459 if( !PySlice_Check(slice) ) {
9460 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9463 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9464 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type
id = i;
9465 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type jd = j;
9466 return swig::getslice(
self,
id, jd, step);
9468 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____setitem____SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,PySliceObject *slice,std::vector<
Pythia8::SigmaProcess *,std::allocator< Pythia8::SigmaProcess * > >
const &v){
9469 Py_ssize_t i, j, step;
9470 if( !PySlice_Check(slice) ) {
9471 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9474 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9475 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type
id = i;
9476 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type jd = j;
9477 swig::setslice(
self,
id, jd, step, v);
9479 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____setitem____SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,PySliceObject *slice){
9480 Py_ssize_t i, j, step;
9481 if( !PySlice_Check(slice) ) {
9482 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9485 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9486 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type
id = i;
9487 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type jd = j;
9488 swig::delslice(
self,
id, jd, step);
9490 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____delitem____SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,PySliceObject *slice){
9491 Py_ssize_t i, j, step;
9492 if( !PySlice_Check(slice) ) {
9493 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9496 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9497 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type
id = i;
9498 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::difference_type jd = j;
9499 swig::delslice(
self,
id, jd, step);
9501 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::value_type std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____getitem____SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i){
9502 return *(swig::cgetpos(
self, i));
9504 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg____setitem____SWIG_2(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::difference_type i,std::vector< Pythia8::SigmaProcess * >::value_type x){
9505 *(swig::getpos(
self,i)) = x;
9507 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::value_type std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__pop(std::vector< Pythia8::SigmaProcess * > *
self){
9508 if (self->size() == 0)
9509 throw std::out_of_range(
"pop from empty container");
9510 std::vector< Pythia8::SigmaProcess*,std::allocator< Pythia8::SigmaProcess * > >::value_type x =
self->back();
9514 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__append(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::value_type x){
9517 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::iterator std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__erase__SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::iterator pos){
return self->erase(pos); }
9518 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::iterator std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__erase__SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::iterator first,std::vector< Pythia8::SigmaProcess * >::iterator last){
return self->erase(first, last); }
9519 SWIGINTERN std::vector< Pythia8::SigmaProcess * >::iterator std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__insert__SWIG_0(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::iterator pos,std::vector< Pythia8::SigmaProcess * >::value_type x){
return self->insert(pos, x); }
9520 SWIGINTERN
void std_vector_Sl_Pythia8_SigmaProcess_Sm__Sg__insert__SWIG_1(std::vector< Pythia8::SigmaProcess * > *
self,std::vector< Pythia8::SigmaProcess * >::iterator pos,std::vector< Pythia8::SigmaProcess * >::size_type n,std::vector< Pythia8::SigmaProcess * >::value_type x){
self->insert(pos, n, x); }
9525 static const char* type_name() {
return"Pythia8::Vec4"; }
9531 template <>
struct traits<std::vector< Pythia8::Vec4, std::allocator< Pythia8::Vec4 > > > {
9533 static const char* type_name() {
9534 return "std::vector<" "Pythia8::Vec4" "," "std::allocator< Pythia8::Vec4 >" " >";
9539 SWIGINTERN
swig::SwigPyIterator *std_vector_Sl_Pythia8_Vec4_Sg__iterator(std::vector< Pythia8::Vec4 > *
self,PyObject **PYTHON_SELF){
9540 return swig::make_output_iterator(self->begin(),
self->begin(),
self->end(), *PYTHON_SELF);
9542 SWIGINTERN
bool std_vector_Sl_Pythia8_Vec4_Sg____nonzero__(std::vector< Pythia8::Vec4 >
const *
self){
9543 return !(
self->empty());
9545 SWIGINTERN
bool std_vector_Sl_Pythia8_Vec4_Sg____bool__(std::vector< Pythia8::Vec4 >
const *
self){
9546 return !(
self->empty());
9548 SWIGINTERN std::vector< Pythia8::Vec4 >::size_type std_vector_Sl_Pythia8_Vec4_Sg____len__(std::vector< Pythia8::Vec4 >
const *
self){
9549 return self->size();
9551 SWIGINTERN std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > *std_vector_Sl_Pythia8_Vec4_Sg____getslice__(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i,std::vector< Pythia8::Vec4 >::difference_type j){
9552 return swig::getslice(
self, i, j, 1);
9554 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____setslice____SWIG_0(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i,std::vector< Pythia8::Vec4 >::difference_type j){
9555 swig::setslice(
self, i, j, 1, std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >());
9557 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____setslice____SWIG_1(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i,std::vector< Pythia8::Vec4 >::difference_type j,std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >
const &v){
9558 swig::setslice(
self, i, j, 1, v);
9560 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____delslice__(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i,std::vector< Pythia8::Vec4 >::difference_type j){
9561 swig::delslice(
self, i, j, 1);
9563 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____delitem____SWIG_0(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i){
9564 swig::erase(
self, swig::getpos(
self, i));
9566 SWIGINTERN std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > *std_vector_Sl_Pythia8_Vec4_Sg____getitem____SWIG_0(std::vector< Pythia8::Vec4 > *
self,PySliceObject *slice){
9567 Py_ssize_t i, j, step;
9568 if( !PySlice_Check(slice) ) {
9569 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9572 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9573 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type
id = i;
9574 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type jd = j;
9575 return swig::getslice(
self,
id, jd, step);
9577 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____setitem____SWIG_0(std::vector< Pythia8::Vec4 > *
self,PySliceObject *slice,std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >
const &v){
9578 Py_ssize_t i, j, step;
9579 if( !PySlice_Check(slice) ) {
9580 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9583 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9584 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type
id = i;
9585 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type jd = j;
9586 swig::setslice(
self,
id, jd, step, v);
9588 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____setitem____SWIG_1(std::vector< Pythia8::Vec4 > *
self,PySliceObject *slice){
9589 Py_ssize_t i, j, step;
9590 if( !PySlice_Check(slice) ) {
9591 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9594 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9595 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type
id = i;
9596 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type jd = j;
9597 swig::delslice(
self,
id, jd, step);
9599 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____delitem____SWIG_1(std::vector< Pythia8::Vec4 > *
self,PySliceObject *slice){
9600 Py_ssize_t i, j, step;
9601 if( !PySlice_Check(slice) ) {
9602 SWIG_Error(SWIG_TypeError,
"Slice object expected.");
9605 PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
9606 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type
id = i;
9607 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::difference_type jd = j;
9608 swig::delslice(
self,
id, jd, step);
9610 SWIGINTERN std::vector< Pythia8::Vec4 >::value_type
const &std_vector_Sl_Pythia8_Vec4_Sg____getitem____SWIG_1(std::vector< Pythia8::Vec4 >
const *
self,std::vector< Pythia8::Vec4 >::difference_type i){
9611 return *(swig::cgetpos(
self, i));
9613 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg____setitem____SWIG_2(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::difference_type i,std::vector< Pythia8::Vec4 >::value_type
const &x){
9614 *(swig::getpos(
self,i)) = x;
9616 SWIGINTERN std::vector< Pythia8::Vec4 >::value_type std_vector_Sl_Pythia8_Vec4_Sg__pop(std::vector< Pythia8::Vec4 > *
self){
9617 if (self->size() == 0)
9618 throw std::out_of_range(
"pop from empty container");
9619 std::vector< Pythia8::Vec4,std::allocator< Pythia8::Vec4 > >::value_type x =
self->back();
9623 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg__append(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::value_type
const &x){
9626 SWIGINTERN std::vector< Pythia8::Vec4 >::iterator std_vector_Sl_Pythia8_Vec4_Sg__erase__SWIG_0(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::iterator pos){
return self->erase(pos); }
9627 SWIGINTERN std::vector< Pythia8::Vec4 >::iterator std_vector_Sl_Pythia8_Vec4_Sg__erase__SWIG_1(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::iterator first,std::vector< Pythia8::Vec4 >::iterator last){
return self->erase(first, last); }
9628 SWIGINTERN std::vector< Pythia8::Vec4 >::iterator std_vector_Sl_Pythia8_Vec4_Sg__insert__SWIG_0(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::iterator pos,std::vector< Pythia8::Vec4 >::value_type
const &x){
return self->insert(pos, x); }
9629 SWIGINTERN
void std_vector_Sl_Pythia8_Vec4_Sg__insert__SWIG_1(std::vector< Pythia8::Vec4 > *
self,std::vector< Pythia8::Vec4 >::iterator pos,std::vector< Pythia8::Vec4 >::size_type n,std::vector< Pythia8::Vec4 >::value_type
const &x){
self->insert(pos, n, x); }
9646 #ifndef SWIG_pythia8_WRAP_H_
9647 #define SWIG_pythia8_WRAP_H_
9658 virtual double flat();
9662 bool swig_get_inner(
const char *swig_protected_method_name)
const {
9663 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
9664 return (iv != swig_inner.end() ? iv->second :
false);
9666 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
9667 swig_inner[swig_protected_method_name] = swig_val;
9670 mutable std::map<std::string, bool> swig_inner;
9672 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
9674 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
9675 PyObject *method = vtable[method_index];
9678 method = PyObject_GetAttr(swig_get_self(), name);
9680 std::string msg =
"Method in class RndmEngine doesn't exist, undefined ";
9682 Swig::DirectorMethodException::raise(msg.c_str());
9684 vtable[method_index] = method;
9701 virtual void pick();
9702 using Pythia8::BeamShape::deltaPxA;
9703 using Pythia8::BeamShape::deltaPyA;
9704 using Pythia8::BeamShape::deltaPzA;
9705 using Pythia8::BeamShape::deltaPxB;
9706 using Pythia8::BeamShape::deltaPyB;
9707 using Pythia8::BeamShape::deltaPzB;
9708 using Pythia8::BeamShape::vertexX;
9709 using Pythia8::BeamShape::vertexY;
9710 using Pythia8::BeamShape::vertexZ;
9711 using Pythia8::BeamShape::vertexT;
9712 using Pythia8::BeamShape::allowMomentumSpread;
9713 using Pythia8::BeamShape::allowVertexSpread;
9714 using Pythia8::BeamShape::sigmaPxA;
9715 using Pythia8::BeamShape::sigmaPyA;
9716 using Pythia8::BeamShape::sigmaPzA;
9717 using Pythia8::BeamShape::maxDevA;
9718 using Pythia8::BeamShape::sigmaPxB;
9719 using Pythia8::BeamShape::sigmaPyB;
9720 using Pythia8::BeamShape::sigmaPzB;
9721 using Pythia8::BeamShape::maxDevB;
9722 using Pythia8::BeamShape::sigmaVertexX;
9723 using Pythia8::BeamShape::sigmaVertexY;
9724 using Pythia8::BeamShape::sigmaVertexZ;
9725 using Pythia8::BeamShape::maxDevVertex;
9726 using Pythia8::BeamShape::sigmaTime;
9727 using Pythia8::BeamShape::maxDevTime;
9728 using Pythia8::BeamShape::offsetX;
9729 using Pythia8::BeamShape::offsetY;
9730 using Pythia8::BeamShape::offsetZ;
9731 using Pythia8::BeamShape::offsetT;
9732 using Pythia8::BeamShape::rndmPtr;
9736 bool swig_get_inner(
const char *swig_protected_method_name)
const {
9737 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
9738 return (iv != swig_inner.end() ? iv->second :
false);
9740 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
9741 swig_inner[swig_protected_method_name] = swig_val;
9744 mutable std::map<std::string, bool> swig_inner;
9746 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
9748 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
9749 PyObject *method = vtable[method_index];
9752 method = PyObject_GetAttr(swig_get_self(), name);
9754 std::string msg =
"Method in class BeamShape doesn't exist, undefined ";
9756 Swig::DirectorMethodException::raise(msg.c_str());
9758 vtable[method_index] = method;
9774 virtual bool isSetup();
9775 virtual void newValenceContent(
int idVal1In,
int idVal2In);
9776 virtual void setExtrapolate(
bool arg0);
9777 virtual double xf(
int id,
double x,
double Q2);
9778 virtual double xfVal(
int id,
double x,
double Q2);
9779 virtual double xfSea(
int id,
double x,
double Q2);
9780 virtual bool insideBounds(
double arg0,
double arg1);
9781 virtual double alphaS(
double arg0);
9782 virtual double mQuarkPDF(
int arg0);
9783 virtual int nMembers();
9784 virtual void calcPDFEnvelope(
int arg0,
double arg1,
double arg2,
int arg3);
9785 virtual void calcPDFEnvelope(std::pair< int,int > arg0, std::pair< double,double > arg1,
double arg2,
int arg3);
9787 virtual double gammaPDFxDependence(
int arg0,
double arg1);
9788 virtual double gammaPDFRefScale(
int arg0);
9789 virtual int sampleGammaValFlavor(
double arg0);
9790 virtual double xfIntegratedTotal(
double arg0);
9791 virtual double xGamma();
9792 virtual void xPom(
double arg0 = -1.0);
9793 virtual double xfFlux(
int arg0,
double arg1,
double arg2);
9794 virtual double xfApprox(
int arg0,
double arg1,
double arg2);
9795 virtual double xfGamma(
int arg0,
double arg1,
double arg2);
9796 virtual double intFluxApprox();
9797 virtual double getXmin();
9798 virtual double getXhadr();
9799 virtual double sampleXgamma(
double arg0);
9800 virtual double sampleQ2gamma(
double arg0);
9801 virtual double xfMax(
int id,
double x,
double Q2);
9802 virtual double xfSame(
int id,
double x,
double Q2);
9803 virtual void setVMDscale(
double arg0 = 1.);
9804 virtual void xfUpdate(
int id,
double x,
double Q2);
9805 using Pythia8::PDF::idBeam;
9806 using Pythia8::PDF::idBeamAbs;
9807 using Pythia8::PDF::idSav;
9808 using Pythia8::PDF::idVal1;
9809 using Pythia8::PDF::idVal2;
9810 using Pythia8::PDF::xSav;
9811 using Pythia8::PDF::Q2Sav;
9812 using Pythia8::PDF::xu;
9813 using Pythia8::PDF::xd;
9814 using Pythia8::PDF::xs;
9815 using Pythia8::PDF::xubar;
9816 using Pythia8::PDF::xdbar;
9817 using Pythia8::PDF::xsbar;
9818 using Pythia8::PDF::xc;
9819 using Pythia8::PDF::xb;
9820 using Pythia8::PDF::xg;
9821 using Pythia8::PDF::xlepton;
9822 using Pythia8::PDF::xgamma;
9823 using Pythia8::PDF::xuVal;
9824 using Pythia8::PDF::xuSea;
9825 using Pythia8::PDF::xdVal;
9826 using Pythia8::PDF::xdSea;
9827 using Pythia8::PDF::isSet;
9828 using Pythia8::PDF::isInit;
9829 using Pythia8::PDF::xsVal;
9830 using Pythia8::PDF::xcVal;
9831 using Pythia8::PDF::xbVal;
9832 using Pythia8::PDF::xsSea;
9833 using Pythia8::PDF::xcSea;
9834 using Pythia8::PDF::xbSea;
9835 using Pythia8::PDF::hasGammaInLepton;
9836 using Pythia8::PDF::setValenceContent;
9837 using Pythia8::PDF::printErr;
9841 bool swig_get_inner(
const char *swig_protected_method_name)
const {
9842 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
9843 return (iv != swig_inner.end() ? iv->second :
false);
9845 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
9846 swig_inner[swig_protected_method_name] = swig_val;
9849 mutable std::map<std::string, bool> swig_inner;
9851 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
9853 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
9854 PyObject *method = vtable[method_index];
9857 method = PyObject_GetAttr(swig_get_self(), name);
9859 std::string msg =
"Method in class PDF doesn't exist, undefined ";
9861 Swig::DirectorMethodException::raise(msg.c_str());
9863 vtable[method_index] = method;
9880 virtual void initConstants();
9881 virtual void initConstantsSwigPublic() {
9882 Pythia8::ResonanceWidths::initConstants();
9884 virtual bool initBSM();
9885 virtual bool initBSMSwigPublic() {
9886 return Pythia8::ResonanceWidths::initBSM();
9888 virtual bool allowCalc();
9889 virtual bool allowCalcSwigPublic() {
9890 return Pythia8::ResonanceWidths::allowCalc();
9892 virtual void calcPreFac(
bool arg0 =
false);
9893 virtual void calcPreFacSwigPublic(
bool arg0 =
false) {
9894 Pythia8::ResonanceWidths::calcPreFac(arg0);
9896 virtual void calcWidth(
bool arg0 =
false);
9897 virtual void calcWidthSwigPublic(
bool arg0 =
false) {
9898 Pythia8::ResonanceWidths::calcWidth(arg0);
9900 using Pythia8::ResonanceWidths::NPOINT;
9901 using Pythia8::ResonanceWidths::MASSMIN;
9902 using Pythia8::ResonanceWidths::MASSMARGIN;
9903 using Pythia8::ResonanceWidths::idRes;
9904 using Pythia8::ResonanceWidths::hasAntiRes;
9905 using Pythia8::ResonanceWidths::doForceWidth;
9906 using Pythia8::ResonanceWidths::isGeneric;
9907 using Pythia8::ResonanceWidths::allowCalcWidth;
9908 using Pythia8::ResonanceWidths::minWidth;
9909 using Pythia8::ResonanceWidths::minThreshold;
9910 using Pythia8::ResonanceWidths::mRes;
9911 using Pythia8::ResonanceWidths::GammaRes;
9912 using Pythia8::ResonanceWidths::m2Res;
9913 using Pythia8::ResonanceWidths::GamMRat;
9914 using Pythia8::ResonanceWidths::openPos;
9915 using Pythia8::ResonanceWidths::openNeg;
9916 using Pythia8::ResonanceWidths::forceFactor;
9917 using Pythia8::ResonanceWidths::iChannel;
9918 using Pythia8::ResonanceWidths::onMode;
9919 using Pythia8::ResonanceWidths::meMode;
9920 using Pythia8::ResonanceWidths::mult;
9921 using Pythia8::ResonanceWidths::id1;
9922 using Pythia8::ResonanceWidths::id2;
9923 using Pythia8::ResonanceWidths::id3;
9924 using Pythia8::ResonanceWidths::id1Abs;
9925 using Pythia8::ResonanceWidths::id2Abs;
9926 using Pythia8::ResonanceWidths::id3Abs;
9927 using Pythia8::ResonanceWidths::idInFlav;
9928 using Pythia8::ResonanceWidths::widNow;
9929 using Pythia8::ResonanceWidths::mHat;
9930 using Pythia8::ResonanceWidths::mf1;
9931 using Pythia8::ResonanceWidths::mf2;
9932 using Pythia8::ResonanceWidths::mf3;
9933 using Pythia8::ResonanceWidths::mr1;
9934 using Pythia8::ResonanceWidths::mr2;
9935 using Pythia8::ResonanceWidths::mr3;
9936 using Pythia8::ResonanceWidths::ps;
9937 using Pythia8::ResonanceWidths::kinFac;
9938 using Pythia8::ResonanceWidths::alpEM;
9939 using Pythia8::ResonanceWidths::alpS;
9940 using Pythia8::ResonanceWidths::colQ;
9941 using Pythia8::ResonanceWidths::preFac;
9942 using Pythia8::ResonanceWidths::particlePtr;
9943 using Pythia8::ResonanceWidths::infoPtr;
9944 using Pythia8::ResonanceWidths::settingsPtr;
9945 using Pythia8::ResonanceWidths::particleDataPtr;
9946 using Pythia8::ResonanceWidths::couplingsPtr;
9947 using Pythia8::ResonanceWidths::numInt1BW;
9948 using Pythia8::ResonanceWidths::numInt2BW;
9952 bool swig_get_inner(
const char *swig_protected_method_name)
const {
9953 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
9954 return (iv != swig_inner.end() ? iv->second :
false);
9956 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
9957 swig_inner[swig_protected_method_name] = swig_val;
9960 mutable std::map<std::string, bool> swig_inner;
9962 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
9964 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
9965 PyObject *method = vtable[method_index];
9968 method = PyObject_GetAttr(swig_get_self(), name);
9970 std::string msg =
"Method in class ResonanceWidths doesn't exist, undefined ";
9972 Swig::DirectorMethodException::raise(msg.c_str());
9974 vtable[method_index] = method;
9990 virtual void newEventFile(
char const *arg0);
9991 virtual bool fileFound();
9992 virtual bool useExternal();
9993 virtual bool setInit();
9994 virtual bool setEvent(
int idProcIn = 0);
9995 virtual bool skipEvent(
int nSkip);
9996 virtual bool openLHEF(std::string fileNameIn);
9997 virtual bool closeLHEF(
bool updateInit =
false);
9998 using Pythia8::LHAup::CONVERTMB2PB;
9999 using Pythia8::LHAup::infoPtr;
10000 using Pythia8::LHAup::setBeamA;
10001 using Pythia8::LHAup::setBeamB;
10002 using Pythia8::LHAup::setStrategy;
10003 using Pythia8::LHAup::addProcess;
10004 using Pythia8::LHAup::setXSec;
10005 using Pythia8::LHAup::setXErr;
10006 using Pythia8::LHAup::setXMax;
10007 using Pythia8::LHAup::setProcess;
10008 using Pythia8::LHAup::addParticle;
10009 using Pythia8::LHAup::setIdX;
10010 using Pythia8::LHAup::setPdf;
10011 using Pythia8::LHAup::setInitLHEF;
10012 using Pythia8::LHAup::setNewEventLHEF;
10013 using Pythia8::LHAup::setOldEventLHEF;
10014 using Pythia8::LHAup::openFile;
10015 using Pythia8::LHAup::closeFile;
10016 using Pythia8::LHAup::setInfoHeader;
10017 using Pythia8::LHAup::nupSave;
10018 using Pythia8::LHAup::idprupSave;
10019 using Pythia8::LHAup::xwgtupSave;
10020 using Pythia8::LHAup::scalupSave;
10021 using Pythia8::LHAup::aqedupSave;
10022 using Pythia8::LHAup::aqcdupSave;
10023 using Pythia8::LHAup::xSecSumSave;
10024 using Pythia8::LHAup::xErrSumSave;
10025 using Pythia8::LHAup::particlesSave;
10026 using Pythia8::LHAup::getPDFSave;
10027 using Pythia8::LHAup::getScale;
10028 using Pythia8::LHAup::id1InSave;
10029 using Pythia8::LHAup::id2InSave;
10030 using Pythia8::LHAup::id1pdfInSave;
10031 using Pythia8::LHAup::id2pdfInSave;
10032 using Pythia8::LHAup::x1InSave;
10033 using Pythia8::LHAup::x2InSave;
10034 using Pythia8::LHAup::x1pdfInSave;
10035 using Pythia8::LHAup::x2pdfInSave;
10036 using Pythia8::LHAup::scalePDFInSave;
10037 using Pythia8::LHAup::pdf1InSave;
10038 using Pythia8::LHAup::pdf2InSave;
10039 using Pythia8::LHAup::fileName;
10040 using Pythia8::LHAup::dateNow;
10041 using Pythia8::LHAup::timeNow;
10045 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10046 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10047 return (iv != swig_inner.end() ? iv->second :
false);
10049 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10050 swig_inner[swig_protected_method_name] = swig_val;
10053 mutable std::map<std::string, bool> swig_inner;
10055 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10057 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10058 PyObject *method = vtable[method_index];
10061 method = PyObject_GetAttr(swig_get_self(), name);
10063 std::string msg =
"Method in class LHAup doesn't exist, undefined ";
10064 msg += method_name;
10065 Swig::DirectorMethodException::raise(msg.c_str());
10067 vtable[method_index] = method;
10085 virtual bool canCutOnRecState();
10087 virtual bool canVetoTrialEmission();
10090 virtual void init();
10091 virtual int getNumberOfClusteringSteps(
Pythia8::Event const &event,
bool resetNjetMax =
false);
10093 virtual bool canVetoEmission();
10095 virtual bool useShowerPlugin();
10096 virtual bool canVetoStep();
10098 virtual bool setShowerStartingScales(
bool isTrial,
bool doMergeFirstEmm,
double &pTscaleIn,
Pythia8::Event const &event,
double &pTmaxFSRIn,
bool &limitPTmaxFSRin,
double &pTmaxISRIn,
bool &limitPTmaxISRin,
double &pTmaxMPIIn,
bool &limitPTmaxMPIin);
10102 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10103 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10104 return (iv != swig_inner.end() ? iv->second :
false);
10106 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10107 swig_inner[swig_protected_method_name] = swig_val;
10110 mutable std::map<std::string, bool> swig_inner;
10112 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10114 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10115 PyObject *method = vtable[method_index];
10118 method = PyObject_GetAttr(swig_get_self(), name);
10120 std::string msg =
"Method in class MergingHooks doesn't exist, undefined ";
10121 msg += method_name;
10122 Swig::DirectorMethodException::raise(msg.c_str());
10124 vtable[method_index] = method;
10140 virtual void initProc();
10141 virtual bool initFlux();
10142 virtual void set1Kin(
double arg0,
double arg1,
double arg2);
10143 virtual void set2Kin(
double arg0,
double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6,
double arg7);
10144 virtual void set2KinMPI(
double arg0,
double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6,
bool arg7,
double arg8,
double arg9);
10145 virtual void set3Kin(
double arg0,
double arg1,
double arg2,
Pythia8::Vec4 arg3,
Pythia8::Vec4 arg4,
Pythia8::Vec4 arg5,
double arg6,
double arg7,
double arg8,
double arg9,
double arg10,
double arg11);
10146 virtual void sigmaKin();
10147 virtual double sigmaHat();
10148 virtual double sigmaHatWrap(
int id1in = 0,
int id2in = 0);
10149 virtual double sigmaPDF(
bool initPS =
false,
bool samexGamma =
false,
bool useNewXvalues =
false,
double x1New = 0.,
double x2New = 0.);
10150 virtual void setIdColAcol();
10151 virtual bool final2KinMPI(
int arg0 = 0,
int arg1 = 0,
Pythia8::Vec4 arg2 = 0.,
Pythia8::Vec4 arg3 = 0.,
double arg4 = 0.,
double arg5 = 0.);
10153 virtual double weightDecay(
Pythia8::Event &arg0,
int arg1,
int arg2);
10154 virtual void setScale();
10155 virtual std::string name()
const;
10156 virtual int code()
const;
10157 virtual int nFinal()
const;
10158 virtual std::string inFlux()
const;
10159 virtual bool convert2mb()
const;
10160 virtual bool convertM2()
const;
10161 virtual bool isLHA()
const;
10162 virtual bool isNonDiff()
const;
10163 virtual bool isResolved()
const;
10164 virtual bool isDiffA()
const;
10165 virtual bool isDiffB()
const;
10166 virtual bool isDiffC()
const;
10167 virtual bool isSUSY()
const;
10168 virtual bool allowNegativeSigma()
const;
10169 virtual int id3Mass()
const;
10170 virtual int id4Mass()
const;
10171 virtual int id5Mass()
const;
10172 virtual int resonanceA()
const;
10173 virtual int resonanceB()
const;
10174 virtual bool isSChannel()
const;
10175 virtual int idSChannel()
const;
10176 virtual bool isQCD3body()
const;
10177 virtual int idTchan1()
const;
10178 virtual int idTchan2()
const;
10179 virtual double tChanFracPow1()
const;
10180 virtual double tChanFracPow2()
const;
10181 virtual bool useMirrorWeight()
const;
10182 virtual int gmZmode()
const;
10183 virtual void setIdInDiff(
int arg0,
int arg1);
10184 virtual bool setupForME();
10185 virtual bool setupForMESwigPublic() {
10186 return Pythia8::SigmaProcess::setupForME();
10188 using Pythia8::SigmaProcess::CONVERT2MB;
10189 using Pythia8::SigmaProcess::MASSMARGIN;
10190 using Pythia8::SigmaProcess::COMPRELERR;
10191 using Pythia8::SigmaProcess::NCOMPSTEP;
10192 using Pythia8::SigmaProcess::infoPtr;
10193 using Pythia8::SigmaProcess::settingsPtr;
10194 using Pythia8::SigmaProcess::particleDataPtr;
10195 using Pythia8::SigmaProcess::rndmPtr;
10196 using Pythia8::SigmaProcess::beamAPtr;
10197 using Pythia8::SigmaProcess::beamBPtr;
10198 using Pythia8::SigmaProcess::couplingsPtr;
10199 using Pythia8::SigmaProcess::sigmaTotPtr;
10200 using Pythia8::SigmaProcess::slhaPtr;
10201 using Pythia8::SigmaProcess::lhaUpPtr;
10202 using Pythia8::SigmaProcess::nQuarkIn;
10203 using Pythia8::SigmaProcess::renormScale1;
10204 using Pythia8::SigmaProcess::renormScale2;
10205 using Pythia8::SigmaProcess::renormScale3;
10206 using Pythia8::SigmaProcess::renormScale3VV;
10207 using Pythia8::SigmaProcess::factorScale1;
10208 using Pythia8::SigmaProcess::factorScale2;
10209 using Pythia8::SigmaProcess::factorScale3;
10210 using Pythia8::SigmaProcess::factorScale3VV;
10211 using Pythia8::SigmaProcess::Kfactor;
10212 using Pythia8::SigmaProcess::mcME;
10213 using Pythia8::SigmaProcess::mbME;
10214 using Pythia8::SigmaProcess::mmuME;
10215 using Pythia8::SigmaProcess::mtauME;
10216 using Pythia8::SigmaProcess::renormMultFac;
10217 using Pythia8::SigmaProcess::renormFixScale;
10218 using Pythia8::SigmaProcess::factorMultFac;
10219 using Pythia8::SigmaProcess::factorFixScale;
10220 using Pythia8::SigmaProcess::higgsH1parity;
10221 using Pythia8::SigmaProcess::higgsH2parity;
10222 using Pythia8::SigmaProcess::higgsA3parity;
10223 using Pythia8::SigmaProcess::higgsH1eta;
10224 using Pythia8::SigmaProcess::higgsH2eta;
10225 using Pythia8::SigmaProcess::higgsA3eta;
10226 using Pythia8::SigmaProcess::higgsH1phi;
10227 using Pythia8::SigmaProcess::higgsH2phi;
10228 using Pythia8::SigmaProcess::higgsA3phi;
10229 using Pythia8::SigmaProcess::idA;
10230 using Pythia8::SigmaProcess::idB;
10231 using Pythia8::SigmaProcess::mA;
10232 using Pythia8::SigmaProcess::mB;
10233 using Pythia8::SigmaProcess::isLeptonA;
10234 using Pythia8::SigmaProcess::isLeptonB;
10235 using Pythia8::SigmaProcess::hasLeptonBeams;
10236 using Pythia8::SigmaProcess::lepton2gammaA;
10237 using Pythia8::SigmaProcess::lepton2gammaB;
10238 using Pythia8::SigmaProcess::inBeamA;
10239 using Pythia8::SigmaProcess::inBeamB;
10240 using Pythia8::SigmaProcess::addBeamA;
10241 using Pythia8::SigmaProcess::addBeamB;
10242 using Pythia8::SigmaProcess::sizeBeamA;
10243 using Pythia8::SigmaProcess::sizeBeamB;
10244 using Pythia8::SigmaProcess::inPair;
10245 using Pythia8::SigmaProcess::addPair;
10246 using Pythia8::SigmaProcess::sizePair;
10247 using Pythia8::SigmaProcess::mH;
10248 using Pythia8::SigmaProcess::sH;
10249 using Pythia8::SigmaProcess::sH2;
10250 using Pythia8::SigmaProcess::Q2RenSave;
10251 using Pythia8::SigmaProcess::alpEM;
10252 using Pythia8::SigmaProcess::alpS;
10253 using Pythia8::SigmaProcess::Q2FacSave;
10254 using Pythia8::SigmaProcess::x1Save;
10255 using Pythia8::SigmaProcess::x2Save;
10256 using Pythia8::SigmaProcess::pdf1Save;
10257 using Pythia8::SigmaProcess::pdf2Save;
10258 using Pythia8::SigmaProcess::sigmaSumSave;
10259 using Pythia8::SigmaProcess::id1;
10260 using Pythia8::SigmaProcess::id2;
10261 using Pythia8::SigmaProcess::id3;
10262 using Pythia8::SigmaProcess::id4;
10263 using Pythia8::SigmaProcess::id5;
10264 using Pythia8::SigmaProcess::idSave;
10265 using Pythia8::SigmaProcess::colSave;
10266 using Pythia8::SigmaProcess::acolSave;
10267 using Pythia8::SigmaProcess::mSave;
10268 using Pythia8::SigmaProcess::cosTheta;
10269 using Pythia8::SigmaProcess::sinTheta;
10270 using Pythia8::SigmaProcess::phi;
10271 using Pythia8::SigmaProcess::sHMass;
10272 using Pythia8::SigmaProcess::sHBeta;
10273 using Pythia8::SigmaProcess::pT2Mass;
10274 using Pythia8::SigmaProcess::pTFin;
10275 using Pythia8::SigmaProcess::parton;
10276 using Pythia8::SigmaProcess::partonT;
10277 using Pythia8::SigmaProcess::mSaveT;
10278 using Pythia8::SigmaProcess::pTFinT;
10279 using Pythia8::SigmaProcess::cosThetaT;
10280 using Pythia8::SigmaProcess::sinThetaT;
10281 using Pythia8::SigmaProcess::phiT;
10282 using Pythia8::SigmaProcess::setupForMEin;
10283 using Pythia8::SigmaProcess::mME;
10284 using Pythia8::SigmaProcess::pME;
10285 using Pythia8::SigmaProcess::swapTU;
10286 using Pythia8::SigmaProcess::setId;
10287 using Pythia8::SigmaProcess::setColAcol;
10288 using Pythia8::SigmaProcess::swapColAcol;
10289 using Pythia8::SigmaProcess::swapCol1234;
10290 using Pythia8::SigmaProcess::swapCol12;
10291 using Pythia8::SigmaProcess::swapCol34;
10292 using Pythia8::SigmaProcess::weightTopDecay;
10293 using Pythia8::SigmaProcess::weightHiggsDecay;
10297 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10298 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10299 return (iv != swig_inner.end() ? iv->second :
false);
10301 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10302 swig_inner[swig_protected_method_name] = swig_val;
10305 mutable std::map<std::string, bool> swig_inner;
10307 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10309 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10310 PyObject *method = vtable[method_index];
10313 method = PyObject_GetAttr(swig_get_self(), name);
10315 std::string msg =
"Method in class SigmaProcess doesn't exist, undefined ";
10316 msg += method_name;
10317 Swig::DirectorMethodException::raise(msg.c_str());
10319 vtable[method_index] = method;
10335 virtual bool initAfterBeams();
10336 virtual bool canModifySigma();
10338 virtual bool canBiasSelection();
10340 virtual double biasedSelectionWeight();
10341 virtual bool canVetoProcessLevel();
10343 virtual bool canVetoResonanceDecays();
10345 virtual bool canVetoPT();
10346 virtual double scaleVetoPT();
10348 virtual bool canVetoStep();
10349 virtual int numberVetoStep();
10350 virtual bool doVetoStep(
int arg0,
int arg1,
int arg2,
Pythia8::Event const &arg3);
10351 virtual bool canVetoMPIStep();
10352 virtual int numberVetoMPIStep();
10353 virtual bool doVetoMPIStep(
int arg0,
Pythia8::Event const &arg1);
10354 virtual bool canVetoPartonLevelEarly();
10355 virtual bool doVetoPartonLevelEarly(
Pythia8::Event const &arg0);
10356 virtual bool retryPartonLevel();
10357 virtual bool canVetoPartonLevel();
10359 virtual bool canSetResonanceScale();
10360 virtual double scaleResonance(
int arg0,
Pythia8::Event const &arg1);
10361 virtual bool canVetoISREmission();
10362 virtual bool doVetoISREmission(
int arg0,
Pythia8::Event const &arg1,
int arg2);
10363 virtual bool canVetoFSREmission();
10364 virtual bool doVetoFSREmission(
int arg0,
Pythia8::Event const &arg1,
int arg2,
bool arg3 =
false);
10365 virtual bool canVetoMPIEmission();
10366 virtual bool doVetoMPIEmission(
int arg0,
Pythia8::Event const &arg1);
10367 virtual bool canReconnectResonanceSystems();
10368 virtual bool doReconnectResonanceSystems(
int arg0,
Pythia8::Event &arg1);
10369 virtual bool canEnhanceEmission();
10370 virtual double enhanceFactor(std::string arg0);
10371 virtual double vetoProbability(std::string arg0);
10372 virtual bool canEnhanceTrial();
10373 virtual bool canChangeFragPar();
10378 virtual bool canSetImpactParameter()
const;
10379 virtual double doSetImpactParameter();
10380 using Pythia8::UserHooks::infoPtr;
10381 using Pythia8::UserHooks::settingsPtr;
10382 using Pythia8::UserHooks::particleDataPtr;
10383 using Pythia8::UserHooks::rndmPtr;
10384 using Pythia8::UserHooks::beamAPtr;
10385 using Pythia8::UserHooks::beamBPtr;
10386 using Pythia8::UserHooks::beamPomAPtr;
10387 using Pythia8::UserHooks::beamPomBPtr;
10388 using Pythia8::UserHooks::coupSMPtr;
10389 using Pythia8::UserHooks::partonSystemsPtr;
10390 using Pythia8::UserHooks::sigmaTotPtr;
10391 using Pythia8::UserHooks::omitResonanceDecays;
10392 using Pythia8::UserHooks::subEvent;
10393 using Pythia8::UserHooks::workEvent;
10394 using Pythia8::UserHooks::selBias;
10395 using Pythia8::UserHooks::enhancedEventWeight;
10396 using Pythia8::UserHooks::pTEnhanced;
10397 using Pythia8::UserHooks::wtEnhanced;
10401 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10402 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10403 return (iv != swig_inner.end() ? iv->second :
false);
10405 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10406 swig_inner[swig_protected_method_name] = swig_val;
10409 mutable std::map<std::string, bool> swig_inner;
10411 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10413 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10414 PyObject *method = vtable[method_index];
10417 method = PyObject_GetAttr(swig_get_self(), name);
10419 std::string msg =
"Method in class UserHooks doesn't exist, undefined ";
10420 msg += method_name;
10421 Swig::DirectorMethodException::raise(msg.c_str());
10423 vtable[method_index] = method;
10439 virtual bool setupSampling();
10440 virtual bool trialKin(
bool inEvent =
true,
bool repeatSame =
false);
10441 virtual bool finalKin();
10442 virtual double sigmaSumSigned()
const;
10443 virtual bool isResolved()
const;
10444 virtual void rescaleSigma(
double arg0);
10445 virtual void rescaleMomenta(
double arg0);
10446 virtual double weightGammaPDFApprox();
10448 using Pythia8::PhaseSpace::NMAXTRY;
10449 using Pythia8::PhaseSpace::NTRY3BODY;
10450 using Pythia8::PhaseSpace::SAFETYMARGIN;
10451 using Pythia8::PhaseSpace::TINY;
10452 using Pythia8::PhaseSpace::EVENFRAC;
10453 using Pythia8::PhaseSpace::SAMESIGMA;
10454 using Pythia8::PhaseSpace::MRESMINABS;
10455 using Pythia8::PhaseSpace::WIDTHMARGIN;
10456 using Pythia8::PhaseSpace::SAMEMASS;
10457 using Pythia8::PhaseSpace::MASSMARGIN;
10458 using Pythia8::PhaseSpace::EXTRABWWTMAX;
10459 using Pythia8::PhaseSpace::THRESHOLDSIZE;
10460 using Pythia8::PhaseSpace::THRESHOLDSTEP;
10461 using Pythia8::PhaseSpace::YRANGEMARGIN;
10462 using Pythia8::PhaseSpace::LEPTONXMIN;
10463 using Pythia8::PhaseSpace::LEPTONXMAX;
10464 using Pythia8::PhaseSpace::LEPTONXLOGMIN;
10465 using Pythia8::PhaseSpace::LEPTONXLOGMAX;
10466 using Pythia8::PhaseSpace::LEPTONTAUMIN;
10467 using Pythia8::PhaseSpace::SHATMINZ;
10468 using Pythia8::PhaseSpace::PT2RATMINZ;
10469 using Pythia8::PhaseSpace::WTCORRECTION;
10470 using Pythia8::PhaseSpace::sigmaProcessPtr;
10471 using Pythia8::PhaseSpace::infoPtr;
10472 using Pythia8::PhaseSpace::settingsPtr;
10473 using Pythia8::PhaseSpace::particleDataPtr;
10474 using Pythia8::PhaseSpace::rndmPtr;
10475 using Pythia8::PhaseSpace::beamAPtr;
10476 using Pythia8::PhaseSpace::beamBPtr;
10477 using Pythia8::PhaseSpace::couplingsPtr;
10478 using Pythia8::PhaseSpace::sigmaTotPtr;
10479 using Pythia8::PhaseSpace::userHooksPtr;
10480 using Pythia8::PhaseSpace::lhaUpPtr;
10481 using Pythia8::PhaseSpace::gammaKinPtr;
10482 using Pythia8::PhaseSpace::useBreitWigners;
10483 using Pythia8::PhaseSpace::doEnergySpread;
10484 using Pythia8::PhaseSpace::showSearch;
10485 using Pythia8::PhaseSpace::showViolation;
10486 using Pythia8::PhaseSpace::increaseMaximum;
10487 using Pythia8::PhaseSpace::hasQ2Min;
10488 using Pythia8::PhaseSpace::gmZmodeGlobal;
10489 using Pythia8::PhaseSpace::mHatGlobalMin;
10490 using Pythia8::PhaseSpace::mHatGlobalMax;
10491 using Pythia8::PhaseSpace::pTHatGlobalMin;
10492 using Pythia8::PhaseSpace::pTHatGlobalMax;
10493 using Pythia8::PhaseSpace::Q2GlobalMin;
10494 using Pythia8::PhaseSpace::pTHatMinDiverge;
10495 using Pythia8::PhaseSpace::minWidthBreitWigners;
10496 using Pythia8::PhaseSpace::minWidthNarrowBW;
10497 using Pythia8::PhaseSpace::idA;
10498 using Pythia8::PhaseSpace::idB;
10499 using Pythia8::PhaseSpace::idAin;
10500 using Pythia8::PhaseSpace::idBin;
10501 using Pythia8::PhaseSpace::mA;
10502 using Pythia8::PhaseSpace::mB;
10503 using Pythia8::PhaseSpace::eCM;
10504 using Pythia8::PhaseSpace::s;
10505 using Pythia8::PhaseSpace::sigmaMxGm;
10506 using Pythia8::PhaseSpace::hasLeptonBeamA;
10507 using Pythia8::PhaseSpace::hasLeptonBeamB;
10508 using Pythia8::PhaseSpace::hasOneLeptonBeam;
10509 using Pythia8::PhaseSpace::hasTwoLeptonBeams;
10510 using Pythia8::PhaseSpace::hasPointGammaA;
10511 using Pythia8::PhaseSpace::hasPointGammaB;
10512 using Pythia8::PhaseSpace::hasOnePointParticle;
10513 using Pythia8::PhaseSpace::hasTwoPointParticles;
10514 using Pythia8::PhaseSpace::hasGamma;
10515 using Pythia8::PhaseSpace::newSigmaMx;
10516 using Pythia8::PhaseSpace::canModifySigma;
10517 using Pythia8::PhaseSpace::canBiasSelection;
10518 using Pythia8::PhaseSpace::canBias2Sel;
10519 using Pythia8::PhaseSpace::gmZmode;
10520 using Pythia8::PhaseSpace::bias2SelPow;
10521 using Pythia8::PhaseSpace::bias2SelRef;
10522 using Pythia8::PhaseSpace::wtBW;
10523 using Pythia8::PhaseSpace::sigmaNw;
10524 using Pythia8::PhaseSpace::sigmaMx;
10525 using Pythia8::PhaseSpace::sigmaPos;
10526 using Pythia8::PhaseSpace::sigmaNeg;
10527 using Pythia8::PhaseSpace::biasWt;
10528 using Pythia8::PhaseSpace::mHatMin;
10529 using Pythia8::PhaseSpace::mHatMax;
10530 using Pythia8::PhaseSpace::sHatMin;
10531 using Pythia8::PhaseSpace::sHatMax;
10532 using Pythia8::PhaseSpace::pTHatMin;
10533 using Pythia8::PhaseSpace::pTHatMax;
10534 using Pythia8::PhaseSpace::pT2HatMin;
10535 using Pythia8::PhaseSpace::pT2HatMax;
10536 using Pythia8::PhaseSpace::x1H;
10537 using Pythia8::PhaseSpace::x2H;
10538 using Pythia8::PhaseSpace::m3;
10539 using Pythia8::PhaseSpace::m4;
10540 using Pythia8::PhaseSpace::m5;
10541 using Pythia8::PhaseSpace::s3;
10542 using Pythia8::PhaseSpace::s4;
10543 using Pythia8::PhaseSpace::s5;
10544 using Pythia8::PhaseSpace::mHat;
10545 using Pythia8::PhaseSpace::sH;
10546 using Pythia8::PhaseSpace::tH;
10547 using Pythia8::PhaseSpace::uH;
10548 using Pythia8::PhaseSpace::pAbs;
10549 using Pythia8::PhaseSpace::p2Abs;
10550 using Pythia8::PhaseSpace::pTH;
10551 using Pythia8::PhaseSpace::theta;
10552 using Pythia8::PhaseSpace::phi;
10553 using Pythia8::PhaseSpace::betaZ;
10554 using Pythia8::PhaseSpace::pH;
10555 using Pythia8::PhaseSpace::mH;
10556 using Pythia8::PhaseSpace::decayKinematicsStep;
10557 using Pythia8::PhaseSpace::setup3Body;
10558 using Pythia8::PhaseSpace::setupSampling123;
10559 using Pythia8::PhaseSpace::trialKin123;
10560 using Pythia8::PhaseSpace::idResA;
10561 using Pythia8::PhaseSpace::idResB;
10562 using Pythia8::PhaseSpace::mResA;
10563 using Pythia8::PhaseSpace::mResB;
10564 using Pythia8::PhaseSpace::GammaResA;
10565 using Pythia8::PhaseSpace::GammaResB;
10566 using Pythia8::PhaseSpace::tauResA;
10567 using Pythia8::PhaseSpace::tauResB;
10568 using Pythia8::PhaseSpace::widResA;
10569 using Pythia8::PhaseSpace::widResB;
10570 using Pythia8::PhaseSpace::sameResMass;
10571 using Pythia8::PhaseSpace::useMirrorWeight;
10572 using Pythia8::PhaseSpace::hasNegZ;
10573 using Pythia8::PhaseSpace::hasPosZ;
10574 using Pythia8::PhaseSpace::tau;
10575 using Pythia8::PhaseSpace::y;
10576 using Pythia8::PhaseSpace::z;
10577 using Pythia8::PhaseSpace::tauMin;
10578 using Pythia8::PhaseSpace::tauMax;
10579 using Pythia8::PhaseSpace::yMax;
10580 using Pythia8::PhaseSpace::zMin;
10581 using Pythia8::PhaseSpace::zMax;
10582 using Pythia8::PhaseSpace::ratio34;
10583 using Pythia8::PhaseSpace::unity34;
10584 using Pythia8::PhaseSpace::zNeg;
10585 using Pythia8::PhaseSpace::zPos;
10586 using Pythia8::PhaseSpace::wtTau;
10587 using Pythia8::PhaseSpace::wtY;
10588 using Pythia8::PhaseSpace::wtZ;
10589 using Pythia8::PhaseSpace::wt3Body;
10590 using Pythia8::PhaseSpace::runBW3H;
10591 using Pythia8::PhaseSpace::runBW4H;
10592 using Pythia8::PhaseSpace::runBW5H;
10593 using Pythia8::PhaseSpace::intTau0;
10594 using Pythia8::PhaseSpace::intTau1;
10595 using Pythia8::PhaseSpace::intTau2;
10596 using Pythia8::PhaseSpace::intTau3;
10597 using Pythia8::PhaseSpace::intTau4;
10598 using Pythia8::PhaseSpace::intTau5;
10599 using Pythia8::PhaseSpace::intTau6;
10600 using Pythia8::PhaseSpace::intY0;
10601 using Pythia8::PhaseSpace::intY12;
10602 using Pythia8::PhaseSpace::intY34;
10603 using Pythia8::PhaseSpace::intY56;
10604 using Pythia8::PhaseSpace::mTchan1;
10605 using Pythia8::PhaseSpace::sTchan1;
10606 using Pythia8::PhaseSpace::mTchan2;
10607 using Pythia8::PhaseSpace::sTchan2;
10608 using Pythia8::PhaseSpace::frac3Flat;
10609 using Pythia8::PhaseSpace::frac3Pow1;
10610 using Pythia8::PhaseSpace::frac3Pow2;
10611 using Pythia8::PhaseSpace::zNegMin;
10612 using Pythia8::PhaseSpace::zNegMax;
10613 using Pythia8::PhaseSpace::zPosMin;
10614 using Pythia8::PhaseSpace::zPosMax;
10615 using Pythia8::PhaseSpace::p3cm;
10616 using Pythia8::PhaseSpace::p4cm;
10617 using Pythia8::PhaseSpace::p5cm;
10618 using Pythia8::PhaseSpace::nTau;
10619 using Pythia8::PhaseSpace::nY;
10620 using Pythia8::PhaseSpace::nZ;
10621 using Pythia8::PhaseSpace::tauCoef;
10622 using Pythia8::PhaseSpace::yCoef;
10623 using Pythia8::PhaseSpace::zCoef;
10624 using Pythia8::PhaseSpace::tauCoefSum;
10625 using Pythia8::PhaseSpace::yCoefSum;
10626 using Pythia8::PhaseSpace::zCoefSum;
10627 using Pythia8::PhaseSpace::limitTau;
10628 using Pythia8::PhaseSpace::limitY;
10629 using Pythia8::PhaseSpace::limitZ;
10630 using Pythia8::PhaseSpace::selectTau;
10631 using Pythia8::PhaseSpace::selectY;
10632 using Pythia8::PhaseSpace::selectZ;
10633 using Pythia8::PhaseSpace::select3Body;
10634 using Pythia8::PhaseSpace::solveSys;
10635 using Pythia8::PhaseSpace::useBW;
10636 using Pythia8::PhaseSpace::useNarrowBW;
10637 using Pythia8::PhaseSpace::idMass;
10638 using Pythia8::PhaseSpace::mPeak;
10639 using Pythia8::PhaseSpace::sPeak;
10640 using Pythia8::PhaseSpace::mWidth;
10641 using Pythia8::PhaseSpace::mMin;
10642 using Pythia8::PhaseSpace::mMax;
10643 using Pythia8::PhaseSpace::mw;
10644 using Pythia8::PhaseSpace::wmRat;
10645 using Pythia8::PhaseSpace::mLower;
10646 using Pythia8::PhaseSpace::mUpper;
10647 using Pythia8::PhaseSpace::sLower;
10648 using Pythia8::PhaseSpace::sUpper;
10649 using Pythia8::PhaseSpace::fracFlatS;
10650 using Pythia8::PhaseSpace::fracFlatM;
10651 using Pythia8::PhaseSpace::fracInv;
10652 using Pythia8::PhaseSpace::fracInv2;
10653 using Pythia8::PhaseSpace::atanLower;
10654 using Pythia8::PhaseSpace::atanUpper;
10655 using Pythia8::PhaseSpace::intBW;
10656 using Pythia8::PhaseSpace::intFlatS;
10657 using Pythia8::PhaseSpace::intFlatM;
10658 using Pythia8::PhaseSpace::intInv;
10659 using Pythia8::PhaseSpace::intInv2;
10660 using Pythia8::PhaseSpace::setupMass1;
10661 using Pythia8::PhaseSpace::setupMass2;
10662 using Pythia8::PhaseSpace::trialMass;
10663 using Pythia8::PhaseSpace::weightMass;
10664 using Pythia8::PhaseSpace::tRange;
10665 using Pythia8::PhaseSpace::tInRange;
10669 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10670 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10671 return (iv != swig_inner.end() ? iv->second :
false);
10673 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10674 swig_inner[swig_protected_method_name] = swig_val;
10677 mutable std::map<std::string, bool> swig_inner;
10679 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10681 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10682 PyObject *method = vtable[method_index];
10685 method = PyObject_GetAttr(swig_get_self(), name);
10687 std::string msg =
"Method in class PhaseSpace doesn't exist, undefined ";
10688 msg += method_name;
10689 Swig::DirectorMethodException::raise(msg.c_str());
10691 vtable[method_index] = method;
10708 virtual bool limitPTmax(
Pythia8::Event &arg0,
double arg1 = 0.,
double arg2 = 0.);
10709 virtual void prepare(
int arg0,
Pythia8::Event &arg1,
bool arg2 =
true);
10710 virtual void update(
int arg0,
Pythia8::Event &arg1,
bool arg2 =
false);
10711 virtual double pTnext(
Pythia8::Event &arg0,
double arg1,
double arg2,
int arg3 = -1,
bool arg4 =
false);
10713 virtual bool initUncertainties();
10714 virtual bool doRestart()
const;
10715 virtual bool wasGamma2qqbar();
10716 virtual bool getHasWeaklyRadiated();
10717 virtual int system()
const;
10718 virtual double enhancePTmax()
const;
10720 virtual std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > getStateVariables(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10721 virtual bool isSpacelike(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10722 virtual std::vector< std::string,std::allocator< std::string > > getSplittingName(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3);
10723 virtual double getSplittingProb(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10724 virtual bool allowedSplitting(
Pythia8::Event const &arg0,
int arg1,
int arg2);
10725 virtual std::vector< int,std::allocator< int > > getRecoilers(
Pythia8::Event const &arg0,
int arg1,
int arg2, std::string arg3);
10726 using Pythia8::SpaceShower::infoPtr;
10727 using Pythia8::SpaceShower::settingsPtr;
10728 using Pythia8::SpaceShower::particleDataPtr;
10729 using Pythia8::SpaceShower::rndmPtr;
10730 using Pythia8::SpaceShower::coupSMPtr;
10731 using Pythia8::SpaceShower::beamAPtr;
10732 using Pythia8::SpaceShower::beamBPtr;
10733 using Pythia8::SpaceShower::beamOffset;
10734 using Pythia8::SpaceShower::partonSystemsPtr;
10735 using Pythia8::SpaceShower::userHooksPtr;
10736 using Pythia8::SpaceShower::partonVertexPtr;
10737 using Pythia8::SpaceShower::doUncertainties;
10738 using Pythia8::SpaceShower::uVarMuSoftCorr;
10739 using Pythia8::SpaceShower::uVarMPIshowers;
10740 using Pythia8::SpaceShower::nUncertaintyVariations;
10741 using Pythia8::SpaceShower::nVarQCD;
10742 using Pythia8::SpaceShower::uVarNflavQ;
10743 using Pythia8::SpaceShower::dASmax;
10744 using Pythia8::SpaceShower::cNSpTmin;
10745 using Pythia8::SpaceShower::uVarpTmin2;
10746 using Pythia8::SpaceShower::overFactor;
10747 using Pythia8::SpaceShower::varG2GGmuRfac;
10748 using Pythia8::SpaceShower::varQ2QGmuRfac;
10749 using Pythia8::SpaceShower::varQ2GQmuRfac;
10750 using Pythia8::SpaceShower::varG2QQmuRfac;
10751 using Pythia8::SpaceShower::varX2XGmuRfac;
10752 using Pythia8::SpaceShower::varG2GGcNS;
10753 using Pythia8::SpaceShower::varQ2QGcNS;
10754 using Pythia8::SpaceShower::varQ2GQcNS;
10755 using Pythia8::SpaceShower::varG2QQcNS;
10756 using Pythia8::SpaceShower::varX2XGcNS;
10757 using Pythia8::SpaceShower::varPDFplus;
10758 using Pythia8::SpaceShower::varPDFminus;
10759 using Pythia8::SpaceShower::varPDFmember;
10763 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10764 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10765 return (iv != swig_inner.end() ? iv->second :
false);
10767 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10768 swig_inner[swig_protected_method_name] = swig_val;
10771 mutable std::map<std::string, bool> swig_inner;
10773 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10775 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10776 PyObject *method = vtable[method_index];
10779 method = PyObject_GetAttr(swig_get_self(), name);
10781 std::string msg =
"Method in class SpaceShower doesn't exist, undefined ";
10782 msg += method_name;
10783 Swig::DirectorMethodException::raise(msg.c_str());
10785 vtable[method_index] = method;
10802 virtual bool limitPTmax(
Pythia8::Event &arg0,
double arg1 = 0.,
double arg2 = 0.);
10803 virtual int shower(
int arg0,
int arg1,
Pythia8::Event &arg2,
double arg3,
int arg4 = 0);
10804 virtual int showerQED(
int arg0,
int arg1,
Pythia8::Event &arg2,
double arg3);
10807 virtual void prepare(
int arg0,
Pythia8::Event &arg1,
bool arg2 =
true);
10809 virtual void update(
int arg0,
Pythia8::Event &arg1,
bool arg2 =
false);
10810 virtual double pTnext(
Pythia8::Event &arg0,
double arg1,
double arg2,
bool arg3 =
false,
bool arg4 =
false);
10812 virtual bool initUncertainties();
10813 virtual bool getHasWeaklyRadiated();
10814 virtual int system()
const;
10815 virtual double enhancePTmax();
10816 virtual double pTLastInShower();
10818 virtual std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > getStateVariables(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10819 virtual bool isTimelike(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10820 virtual std::vector< std::string,std::allocator< std::string > > getSplittingName(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3);
10821 virtual double getSplittingProb(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4);
10822 virtual bool allowedSplitting(
Pythia8::Event const &arg0,
int arg1,
int arg2);
10823 virtual std::vector< int,std::allocator< int > > getRecoilers(
Pythia8::Event const &arg0,
int arg1,
int arg2, std::string arg3);
10824 using Pythia8::TimeShower::infoPtr;
10825 using Pythia8::TimeShower::settingsPtr;
10826 using Pythia8::TimeShower::particleDataPtr;
10827 using Pythia8::TimeShower::rndmPtr;
10828 using Pythia8::TimeShower::coupSMPtr;
10829 using Pythia8::TimeShower::beamAPtr;
10830 using Pythia8::TimeShower::beamBPtr;
10831 using Pythia8::TimeShower::beamOffset;
10832 using Pythia8::TimeShower::partonSystemsPtr;
10833 using Pythia8::TimeShower::userHooksPtr;
10834 using Pythia8::TimeShower::partonVertexPtr;
10835 using Pythia8::TimeShower::doUncertainties;
10836 using Pythia8::TimeShower::uVarMuSoftCorr;
10837 using Pythia8::TimeShower::uVarMPIshowers;
10838 using Pythia8::TimeShower::noResVariations;
10839 using Pythia8::TimeShower::noProcVariations;
10840 using Pythia8::TimeShower::nUncertaintyVariations;
10841 using Pythia8::TimeShower::nVarQCD;
10842 using Pythia8::TimeShower::uVarNflavQ;
10843 using Pythia8::TimeShower::dASmax;
10844 using Pythia8::TimeShower::cNSpTmin;
10845 using Pythia8::TimeShower::uVarpTmin2;
10846 using Pythia8::TimeShower::overFactor;
10847 using Pythia8::TimeShower::varG2GGmuRfac;
10848 using Pythia8::TimeShower::varQ2QGmuRfac;
10849 using Pythia8::TimeShower::varG2QQmuRfac;
10850 using Pythia8::TimeShower::varX2XGmuRfac;
10851 using Pythia8::TimeShower::varG2GGcNS;
10852 using Pythia8::TimeShower::varQ2QGcNS;
10853 using Pythia8::TimeShower::varG2QQcNS;
10854 using Pythia8::TimeShower::varX2XGcNS;
10855 using Pythia8::TimeShower::varPDFplus;
10856 using Pythia8::TimeShower::varPDFminus;
10857 using Pythia8::TimeShower::varPDFmember;
10861 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10862 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10863 return (iv != swig_inner.end() ? iv->second :
false);
10865 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10866 swig_inner[swig_protected_method_name] = swig_val;
10869 mutable std::map<std::string, bool> swig_inner;
10871 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10873 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10874 PyObject *method = vtable[method_index];
10877 method = PyObject_GetAttr(swig_get_self(), name);
10879 std::string msg =
"Method in class TimeShower doesn't exist, undefined ";
10880 msg += method_name;
10881 Swig::DirectorMethodException::raise(msg.c_str());
10883 vtable[method_index] = method;
10899 virtual bool decay(std::vector<
int,std::allocator< int > > &arg0, std::vector<
double,std::allocator< double > > &arg1, std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > &arg2,
int arg3,
Pythia8::Event const &arg4);
10900 virtual bool chainDecay(std::vector<
int,std::allocator< int > > &arg0, std::vector<
int,std::allocator< int > > &arg1, std::vector<
double,std::allocator< double > > &arg2, std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > &arg3,
int arg4,
Pythia8::Event const &arg5);
10904 bool swig_get_inner(
const char *swig_protected_method_name)
const {
10905 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
10906 return (iv != swig_inner.end() ? iv->second :
false);
10908 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
10909 swig_inner[swig_protected_method_name] = swig_val;
10912 mutable std::map<std::string, bool> swig_inner;
10914 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10916 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
10917 PyObject *method = vtable[method_index];
10920 method = PyObject_GetAttr(swig_get_self(), name);
10922 std::string msg =
"Method in class DecayHandler doesn't exist, undefined ";
10923 msg += method_name;
10924 Swig::DirectorMethodException::raise(msg.c_str());
10926 vtable[method_index] = method;
10939 SwigDirector_RndmEngine::SwigDirector_RndmEngine(PyObject *
self): Pythia8::
RndmEngine(), Swig::Director(self) {
10946 SwigDirector_RndmEngine::~SwigDirector_RndmEngine() {
10949 double SwigDirector_RndmEngine::flat() {
10951 if (!swig_get_self()) {
10952 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call RndmEngine.__init__.");
10954 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10955 const size_t swig_method_index = 0;
10956 const char *
const swig_method_name =
"flat";
10957 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
10963 PyObject *error = PyErr_Occurred();
10965 Swig::DirectorMethodException::raise(
"Error detected when calling 'RndmEngine.flat'");
10969 int swig_res = SWIG_AsVal_double(result, &swig_val);
10970 if (!SWIG_IsOK(swig_res)) {
10971 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
10973 c_result = static_cast< double >(swig_val);
10974 return (
double) c_result;
10978 SwigDirector_BeamShape::SwigDirector_BeamShape(PyObject *
self): Pythia8::
BeamShape(), Swig::Director(self) {
10985 SwigDirector_BeamShape::~SwigDirector_BeamShape() {
10990 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&settings), SWIGTYPE_p_Pythia8__Settings, 0 );
10992 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(rndmPtrIn), SWIGTYPE_p_Pythia8__Rndm, 0 );
10993 if (!swig_get_self()) {
10994 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call BeamShape.__init__.");
10996 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
10997 const size_t swig_method_index = 0;
10998 const char *
const swig_method_name =
"init";
10999 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11000 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11002 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"init", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11005 PyObject *error = PyErr_Occurred();
11007 Swig::DirectorMethodException::raise(
"Error detected when calling 'BeamShape.init'");
11013 void SwigDirector_BeamShape::pick() {
11014 if (!swig_get_self()) {
11015 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call BeamShape.__init__.");
11017 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11018 const size_t swig_method_index = 1;
11019 const char *
const swig_method_name =
"pick";
11020 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11026 PyObject *error = PyErr_Occurred();
11028 Swig::DirectorMethodException::raise(
"Error detected when calling 'BeamShape.pick'");
11034 SwigDirector_PDF::SwigDirector_PDF(PyObject *
self,
int idBeamIn): Pythia8::
PDF(idBeamIn), Swig::Director(self) {
11041 SwigDirector_PDF::~SwigDirector_PDF() {
11044 bool SwigDirector_PDF::isSetup() {
11046 if (!swig_get_self()) {
11047 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11049 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11050 const size_t swig_method_index = 0;
11051 const char *
const swig_method_name =
"isSetup";
11052 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11058 PyObject *error = PyErr_Occurred();
11060 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.isSetup'");
11064 int swig_res = SWIG_AsVal_bool(result, &swig_val);
11065 if (!SWIG_IsOK(swig_res)) {
11066 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
11068 c_result = static_cast< bool >(swig_val);
11069 return (
bool) c_result;
11073 void SwigDirector_PDF::newValenceContent(
int idVal1In,
int idVal2In) {
11075 obj0 = SWIG_From_int(static_cast< int >(idVal1In));
11077 obj1 = SWIG_From_int(static_cast< int >(idVal2In));
11078 if (!swig_get_self()) {
11079 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11081 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11082 const size_t swig_method_index = 1;
11083 const char *
const swig_method_name =
"newValenceContent";
11084 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11085 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11087 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"newValenceContent", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11090 PyObject *error = PyErr_Occurred();
11092 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.newValenceContent'");
11098 void SwigDirector_PDF::setExtrapolate(
bool arg0) {
11100 obj0 = SWIG_From_bool(static_cast< bool >(arg0));
11101 if (!swig_get_self()) {
11102 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11104 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11105 const size_t swig_method_index = 2;
11106 const char *
const swig_method_name =
"setExtrapolate";
11107 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11110 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setExtrapolate", (
char *)
"(O)" ,(PyObject *)obj0);
11113 PyObject *error = PyErr_Occurred();
11115 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.setExtrapolate'");
11121 double SwigDirector_PDF::xf(
int id,
double x,
double Q2) {
11124 obj0 = SWIG_From_int(static_cast< int >(
id));
11126 obj1 = SWIG_From_double(static_cast< double >(x));
11128 obj2 = SWIG_From_double(static_cast< double >(Q2));
11129 if (!swig_get_self()) {
11130 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11132 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11133 const size_t swig_method_index = 3;
11134 const char *
const swig_method_name =
"xf";
11135 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11136 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11138 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xf", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11141 PyObject *error = PyErr_Occurred();
11143 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xf'");
11147 int swig_res = SWIG_AsVal_double(result, &swig_val);
11148 if (!SWIG_IsOK(swig_res)) {
11149 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11151 c_result = static_cast< double >(swig_val);
11152 return (
double) c_result;
11156 double SwigDirector_PDF::xfVal(
int id,
double x,
double Q2) {
11159 obj0 = SWIG_From_int(static_cast< int >(
id));
11161 obj1 = SWIG_From_double(static_cast< double >(x));
11163 obj2 = SWIG_From_double(static_cast< double >(Q2));
11164 if (!swig_get_self()) {
11165 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11167 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11168 const size_t swig_method_index = 4;
11169 const char *
const swig_method_name =
"xfVal";
11170 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11171 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11173 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfVal", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11176 PyObject *error = PyErr_Occurred();
11178 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfVal'");
11182 int swig_res = SWIG_AsVal_double(result, &swig_val);
11183 if (!SWIG_IsOK(swig_res)) {
11184 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11186 c_result = static_cast< double >(swig_val);
11187 return (
double) c_result;
11191 double SwigDirector_PDF::xfSea(
int id,
double x,
double Q2) {
11194 obj0 = SWIG_From_int(static_cast< int >(
id));
11196 obj1 = SWIG_From_double(static_cast< double >(x));
11198 obj2 = SWIG_From_double(static_cast< double >(Q2));
11199 if (!swig_get_self()) {
11200 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11202 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11203 const size_t swig_method_index = 5;
11204 const char *
const swig_method_name =
"xfSea";
11205 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11206 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11208 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfSea", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11211 PyObject *error = PyErr_Occurred();
11213 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfSea'");
11217 int swig_res = SWIG_AsVal_double(result, &swig_val);
11218 if (!SWIG_IsOK(swig_res)) {
11219 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11221 c_result = static_cast< double >(swig_val);
11222 return (
double) c_result;
11226 bool SwigDirector_PDF::insideBounds(
double arg0,
double arg1) {
11229 obj0 = SWIG_From_double(static_cast< double >(arg0));
11231 obj1 = SWIG_From_double(static_cast< double >(arg1));
11232 if (!swig_get_self()) {
11233 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11235 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11236 const size_t swig_method_index = 6;
11237 const char *
const swig_method_name =
"insideBounds";
11238 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11239 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11241 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"insideBounds", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11244 PyObject *error = PyErr_Occurred();
11246 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.insideBounds'");
11250 int swig_res = SWIG_AsVal_bool(result, &swig_val);
11251 if (!SWIG_IsOK(swig_res)) {
11252 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
11254 c_result = static_cast< bool >(swig_val);
11255 return (
bool) c_result;
11259 double SwigDirector_PDF::alphaS(
double arg0) {
11262 obj0 = SWIG_From_double(static_cast< double >(arg0));
11263 if (!swig_get_self()) {
11264 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11266 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11267 const size_t swig_method_index = 7;
11268 const char *
const swig_method_name =
"alphaS";
11269 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11272 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"alphaS", (
char *)
"(O)" ,(PyObject *)obj0);
11275 PyObject *error = PyErr_Occurred();
11277 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.alphaS'");
11281 int swig_res = SWIG_AsVal_double(result, &swig_val);
11282 if (!SWIG_IsOK(swig_res)) {
11283 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11285 c_result = static_cast< double >(swig_val);
11286 return (
double) c_result;
11290 double SwigDirector_PDF::mQuarkPDF(
int arg0) {
11293 obj0 = SWIG_From_int(static_cast< int >(arg0));
11294 if (!swig_get_self()) {
11295 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11297 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11298 const size_t swig_method_index = 8;
11299 const char *
const swig_method_name =
"mQuarkPDF";
11300 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11303 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"mQuarkPDF", (
char *)
"(O)" ,(PyObject *)obj0);
11306 PyObject *error = PyErr_Occurred();
11308 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.mQuarkPDF'");
11312 int swig_res = SWIG_AsVal_double(result, &swig_val);
11313 if (!SWIG_IsOK(swig_res)) {
11314 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11316 c_result = static_cast< double >(swig_val);
11317 return (
double) c_result;
11321 int SwigDirector_PDF::nMembers() {
11323 if (!swig_get_self()) {
11324 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11326 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11327 const size_t swig_method_index = 9;
11328 const char *
const swig_method_name =
"nMembers";
11329 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11335 PyObject *error = PyErr_Occurred();
11337 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.nMembers'");
11341 int swig_res = SWIG_AsVal_int(result, &swig_val);
11342 if (!SWIG_IsOK(swig_res)) {
11343 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
11345 c_result = static_cast< int >(swig_val);
11346 return (
int) c_result;
11350 void SwigDirector_PDF::calcPDFEnvelope(
int arg0,
double arg1,
double arg2,
int arg3) {
11352 obj0 = SWIG_From_int(static_cast< int >(arg0));
11354 obj1 = SWIG_From_double(static_cast< double >(arg1));
11356 obj2 = SWIG_From_double(static_cast< double >(arg2));
11358 obj3 = SWIG_From_int(static_cast< int >(arg3));
11359 if (!swig_get_self()) {
11360 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11362 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11363 const size_t swig_method_index = 10;
11364 const char *
const swig_method_name =
"calcPDFEnvelope";
11365 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11366 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
11368 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"calcPDFEnvelope", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
11371 PyObject *error = PyErr_Occurred();
11373 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.calcPDFEnvelope'");
11379 void SwigDirector_PDF::calcPDFEnvelope(std::pair< int,int > arg0, std::pair< double,double > arg1,
double arg2,
int arg3) {
11381 obj0 = swig::from(
static_cast< std::pair< int,int >
>(arg0));
11383 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_std__pairT_double_double_t, 0 );
11385 obj2 = SWIG_From_double(static_cast< double >(arg2));
11387 obj3 = SWIG_From_int(static_cast< int >(arg3));
11388 if (!swig_get_self()) {
11389 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11391 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11392 const size_t swig_method_index = 11;
11393 const char *
const swig_method_name =
"calcPDFEnvelope";
11394 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11395 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
11397 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"calcPDFEnvelope", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
11400 PyObject *error = PyErr_Occurred();
11402 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.calcPDFEnvelope'");
11413 if (!swig_get_self()) {
11414 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11416 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11417 const size_t swig_method_index = 12;
11418 const char *
const swig_method_name =
"getPDFEnvelope";
11419 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11425 PyObject *error = PyErr_Occurred();
11427 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.getPDFEnvelope'");
11430 swig_res = SWIG_ConvertPtr(result,&swig_argp,SWIGTYPE_p_Pythia8__PDF__PDFEnvelope, 0 | 0);
11431 if (!SWIG_IsOK(swig_res)) {
11432 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""Pythia8::PDF::PDFEnvelope""'");
11434 c_result = *(reinterpret_cast< Pythia8::PDF::PDFEnvelope * >(swig_argp));
11435 if (SWIG_IsNewObj(swig_res))
delete reinterpret_cast< Pythia8::PDF::PDFEnvelope * >(swig_argp);
11440 double SwigDirector_PDF::gammaPDFxDependence(
int arg0,
double arg1) {
11443 obj0 = SWIG_From_int(static_cast< int >(arg0));
11445 obj1 = SWIG_From_double(static_cast< double >(arg1));
11446 if (!swig_get_self()) {
11447 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11449 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11450 const size_t swig_method_index = 13;
11451 const char *
const swig_method_name =
"gammaPDFxDependence";
11452 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11453 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11455 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"gammaPDFxDependence", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
11458 PyObject *error = PyErr_Occurred();
11460 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.gammaPDFxDependence'");
11464 int swig_res = SWIG_AsVal_double(result, &swig_val);
11465 if (!SWIG_IsOK(swig_res)) {
11466 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11468 c_result = static_cast< double >(swig_val);
11469 return (
double) c_result;
11473 double SwigDirector_PDF::gammaPDFRefScale(
int arg0) {
11476 obj0 = SWIG_From_int(static_cast< int >(arg0));
11477 if (!swig_get_self()) {
11478 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11480 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11481 const size_t swig_method_index = 14;
11482 const char *
const swig_method_name =
"gammaPDFRefScale";
11483 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11486 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"gammaPDFRefScale", (
char *)
"(O)" ,(PyObject *)obj0);
11489 PyObject *error = PyErr_Occurred();
11491 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.gammaPDFRefScale'");
11495 int swig_res = SWIG_AsVal_double(result, &swig_val);
11496 if (!SWIG_IsOK(swig_res)) {
11497 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11499 c_result = static_cast< double >(swig_val);
11500 return (
double) c_result;
11504 int SwigDirector_PDF::sampleGammaValFlavor(
double arg0) {
11507 obj0 = SWIG_From_double(static_cast< double >(arg0));
11508 if (!swig_get_self()) {
11509 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11511 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11512 const size_t swig_method_index = 15;
11513 const char *
const swig_method_name =
"sampleGammaValFlavor";
11514 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11517 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"sampleGammaValFlavor", (
char *)
"(O)" ,(PyObject *)obj0);
11520 PyObject *error = PyErr_Occurred();
11522 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.sampleGammaValFlavor'");
11526 int swig_res = SWIG_AsVal_int(result, &swig_val);
11527 if (!SWIG_IsOK(swig_res)) {
11528 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
11530 c_result = static_cast< int >(swig_val);
11531 return (
int) c_result;
11535 double SwigDirector_PDF::xfIntegratedTotal(
double arg0) {
11538 obj0 = SWIG_From_double(static_cast< double >(arg0));
11539 if (!swig_get_self()) {
11540 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11542 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11543 const size_t swig_method_index = 16;
11544 const char *
const swig_method_name =
"xfIntegratedTotal";
11545 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11548 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfIntegratedTotal", (
char *)
"(O)" ,(PyObject *)obj0);
11551 PyObject *error = PyErr_Occurred();
11553 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfIntegratedTotal'");
11557 int swig_res = SWIG_AsVal_double(result, &swig_val);
11558 if (!SWIG_IsOK(swig_res)) {
11559 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11561 c_result = static_cast< double >(swig_val);
11562 return (
double) c_result;
11566 double SwigDirector_PDF::xGamma() {
11568 if (!swig_get_self()) {
11569 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11571 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11572 const size_t swig_method_index = 17;
11573 const char *
const swig_method_name =
"xGamma";
11574 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11580 PyObject *error = PyErr_Occurred();
11582 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xGamma'");
11586 int swig_res = SWIG_AsVal_double(result, &swig_val);
11587 if (!SWIG_IsOK(swig_res)) {
11588 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11590 c_result = static_cast< double >(swig_val);
11591 return (
double) c_result;
11595 void SwigDirector_PDF::xPom(
double arg0) {
11597 obj0 = SWIG_From_double(static_cast< double >(arg0));
11598 if (!swig_get_self()) {
11599 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11601 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11602 const size_t swig_method_index = 18;
11603 const char *
const swig_method_name =
"xPom";
11604 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11607 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xPom", (
char *)
"(O)" ,(PyObject *)obj0);
11610 PyObject *error = PyErr_Occurred();
11612 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xPom'");
11618 double SwigDirector_PDF::xfFlux(
int arg0,
double arg1,
double arg2) {
11621 obj0 = SWIG_From_int(static_cast< int >(arg0));
11623 obj1 = SWIG_From_double(static_cast< double >(arg1));
11625 obj2 = SWIG_From_double(static_cast< double >(arg2));
11626 if (!swig_get_self()) {
11627 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11629 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11630 const size_t swig_method_index = 20;
11631 const char *
const swig_method_name =
"xfFlux";
11632 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11633 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11635 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfFlux", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11638 PyObject *error = PyErr_Occurred();
11640 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfFlux'");
11644 int swig_res = SWIG_AsVal_double(result, &swig_val);
11645 if (!SWIG_IsOK(swig_res)) {
11646 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11648 c_result = static_cast< double >(swig_val);
11649 return (
double) c_result;
11653 double SwigDirector_PDF::xfApprox(
int arg0,
double arg1,
double arg2) {
11656 obj0 = SWIG_From_int(static_cast< int >(arg0));
11658 obj1 = SWIG_From_double(static_cast< double >(arg1));
11660 obj2 = SWIG_From_double(static_cast< double >(arg2));
11661 if (!swig_get_self()) {
11662 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11664 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11665 const size_t swig_method_index = 21;
11666 const char *
const swig_method_name =
"xfApprox";
11667 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11668 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11670 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfApprox", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11673 PyObject *error = PyErr_Occurred();
11675 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfApprox'");
11679 int swig_res = SWIG_AsVal_double(result, &swig_val);
11680 if (!SWIG_IsOK(swig_res)) {
11681 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11683 c_result = static_cast< double >(swig_val);
11684 return (
double) c_result;
11688 double SwigDirector_PDF::xfGamma(
int arg0,
double arg1,
double arg2) {
11691 obj0 = SWIG_From_int(static_cast< int >(arg0));
11693 obj1 = SWIG_From_double(static_cast< double >(arg1));
11695 obj2 = SWIG_From_double(static_cast< double >(arg2));
11696 if (!swig_get_self()) {
11697 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11699 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11700 const size_t swig_method_index = 22;
11701 const char *
const swig_method_name =
"xfGamma";
11702 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11703 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11705 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfGamma", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11708 PyObject *error = PyErr_Occurred();
11710 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfGamma'");
11714 int swig_res = SWIG_AsVal_double(result, &swig_val);
11715 if (!SWIG_IsOK(swig_res)) {
11716 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11718 c_result = static_cast< double >(swig_val);
11719 return (
double) c_result;
11723 double SwigDirector_PDF::intFluxApprox() {
11725 if (!swig_get_self()) {
11726 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11728 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11729 const size_t swig_method_index = 23;
11730 const char *
const swig_method_name =
"intFluxApprox";
11731 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11737 PyObject *error = PyErr_Occurred();
11739 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.intFluxApprox'");
11743 int swig_res = SWIG_AsVal_double(result, &swig_val);
11744 if (!SWIG_IsOK(swig_res)) {
11745 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11747 c_result = static_cast< double >(swig_val);
11748 return (
double) c_result;
11752 double SwigDirector_PDF::getXmin() {
11754 if (!swig_get_self()) {
11755 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11757 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11758 const size_t swig_method_index = 24;
11759 const char *
const swig_method_name =
"getXmin";
11760 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11766 PyObject *error = PyErr_Occurred();
11768 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.getXmin'");
11772 int swig_res = SWIG_AsVal_double(result, &swig_val);
11773 if (!SWIG_IsOK(swig_res)) {
11774 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11776 c_result = static_cast< double >(swig_val);
11777 return (
double) c_result;
11781 double SwigDirector_PDF::getXhadr() {
11783 if (!swig_get_self()) {
11784 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11786 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11787 const size_t swig_method_index = 25;
11788 const char *
const swig_method_name =
"getXhadr";
11789 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11795 PyObject *error = PyErr_Occurred();
11797 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.getXhadr'");
11801 int swig_res = SWIG_AsVal_double(result, &swig_val);
11802 if (!SWIG_IsOK(swig_res)) {
11803 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11805 c_result = static_cast< double >(swig_val);
11806 return (
double) c_result;
11810 double SwigDirector_PDF::sampleXgamma(
double arg0) {
11813 obj0 = SWIG_From_double(static_cast< double >(arg0));
11814 if (!swig_get_self()) {
11815 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11817 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11818 const size_t swig_method_index = 26;
11819 const char *
const swig_method_name =
"sampleXgamma";
11820 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11823 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"sampleXgamma", (
char *)
"(O)" ,(PyObject *)obj0);
11826 PyObject *error = PyErr_Occurred();
11828 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.sampleXgamma'");
11832 int swig_res = SWIG_AsVal_double(result, &swig_val);
11833 if (!SWIG_IsOK(swig_res)) {
11834 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11836 c_result = static_cast< double >(swig_val);
11837 return (
double) c_result;
11841 double SwigDirector_PDF::sampleQ2gamma(
double arg0) {
11844 obj0 = SWIG_From_double(static_cast< double >(arg0));
11845 if (!swig_get_self()) {
11846 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11848 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11849 const size_t swig_method_index = 27;
11850 const char *
const swig_method_name =
"sampleQ2gamma";
11851 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11854 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"sampleQ2gamma", (
char *)
"(O)" ,(PyObject *)obj0);
11857 PyObject *error = PyErr_Occurred();
11859 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.sampleQ2gamma'");
11863 int swig_res = SWIG_AsVal_double(result, &swig_val);
11864 if (!SWIG_IsOK(swig_res)) {
11865 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11867 c_result = static_cast< double >(swig_val);
11868 return (
double) c_result;
11872 double SwigDirector_PDF::xfMax(
int id,
double x,
double Q2) {
11875 obj0 = SWIG_From_int(static_cast< int >(
id));
11877 obj1 = SWIG_From_double(static_cast< double >(x));
11879 obj2 = SWIG_From_double(static_cast< double >(Q2));
11880 if (!swig_get_self()) {
11881 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11883 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11884 const size_t swig_method_index = 28;
11885 const char *
const swig_method_name =
"xfMax";
11886 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11887 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11889 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfMax", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11892 PyObject *error = PyErr_Occurred();
11894 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfMax'");
11898 int swig_res = SWIG_AsVal_double(result, &swig_val);
11899 if (!SWIG_IsOK(swig_res)) {
11900 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11902 c_result = static_cast< double >(swig_val);
11903 return (
double) c_result;
11907 double SwigDirector_PDF::xfSame(
int id,
double x,
double Q2) {
11910 obj0 = SWIG_From_int(static_cast< int >(
id));
11912 obj1 = SWIG_From_double(static_cast< double >(x));
11914 obj2 = SWIG_From_double(static_cast< double >(Q2));
11915 if (!swig_get_self()) {
11916 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11918 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11919 const size_t swig_method_index = 29;
11920 const char *
const swig_method_name =
"xfSame";
11921 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11922 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11924 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfSame", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11927 PyObject *error = PyErr_Occurred();
11929 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfSame'");
11933 int swig_res = SWIG_AsVal_double(result, &swig_val);
11934 if (!SWIG_IsOK(swig_res)) {
11935 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
11937 c_result = static_cast< double >(swig_val);
11938 return (
double) c_result;
11942 void SwigDirector_PDF::setVMDscale(
double arg0) {
11944 obj0 = SWIG_From_double(static_cast< double >(arg0));
11945 if (!swig_get_self()) {
11946 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11948 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11949 const size_t swig_method_index = 30;
11950 const char *
const swig_method_name =
"setVMDscale";
11951 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11954 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setVMDscale", (
char *)
"(O)" ,(PyObject *)obj0);
11957 PyObject *error = PyErr_Occurred();
11959 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.setVMDscale'");
11965 void SwigDirector_PDF::xfUpdate(
int id,
double x,
double Q2) {
11967 obj0 = SWIG_From_int(static_cast< int >(
id));
11969 obj1 = SWIG_From_double(static_cast< double >(x));
11971 obj2 = SWIG_From_double(static_cast< double >(Q2));
11972 swig_set_inner(
"xfUpdate",
true);
11973 if (!swig_get_self()) {
11974 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PDF.__init__.");
11976 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
11977 const size_t swig_method_index = 32;
11978 const char *
const swig_method_name =
"xfUpdate";
11979 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
11980 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11982 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"xfUpdate", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
11984 swig_set_inner(
"xfUpdate",
false);
11986 PyObject *error = PyErr_Occurred();
11988 Swig::DirectorMethodException::raise(
"Error detected when calling 'PDF.xfUpdate'");
11994 SwigDirector_ResonanceWidths::SwigDirector_ResonanceWidths(PyObject *
self): Pythia8::
ResonanceWidths(), Swig::Director(self) {
12001 SwigDirector_ResonanceWidths::~SwigDirector_ResonanceWidths() {
12007 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(infoPtrIn), SWIGTYPE_p_Pythia8__Info, 0 );
12009 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(settingsPtrIn), SWIGTYPE_p_Pythia8__Settings, 0 );
12011 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(particleDataPtrIn), SWIGTYPE_p_Pythia8__ParticleData, 0 );
12013 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(couplingsPtrIn), SWIGTYPE_p_Pythia8__Couplings, 0 );
12014 if (!swig_get_self()) {
12015 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12017 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12018 const size_t swig_method_index = 0;
12019 const char *
const swig_method_name =
"init";
12020 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12021 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
12023 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"init", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
12026 PyObject *error = PyErr_Occurred();
12028 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.init'");
12032 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12033 if (!SWIG_IsOK(swig_res)) {
12034 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12036 c_result = static_cast< bool >(swig_val);
12037 return (
bool) c_result;
12041 void SwigDirector_ResonanceWidths::initConstants() {
12042 swig_set_inner(
"initConstants",
true);
12043 if (!swig_get_self()) {
12044 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12046 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12047 const size_t swig_method_index = 1;
12048 const char *
const swig_method_name =
"initConstants";
12049 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12054 swig_set_inner(
"initConstants",
false);
12056 PyObject *error = PyErr_Occurred();
12058 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.initConstants'");
12064 bool SwigDirector_ResonanceWidths::initBSM() {
12066 swig_set_inner(
"initBSM",
true);
12067 if (!swig_get_self()) {
12068 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12070 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12071 const size_t swig_method_index = 2;
12072 const char *
const swig_method_name =
"initBSM";
12073 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12078 swig_set_inner(
"initBSM",
false);
12080 PyObject *error = PyErr_Occurred();
12082 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.initBSM'");
12086 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12087 if (!SWIG_IsOK(swig_res)) {
12088 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12090 c_result = static_cast< bool >(swig_val);
12091 return (
bool) c_result;
12095 bool SwigDirector_ResonanceWidths::allowCalc() {
12097 swig_set_inner(
"allowCalc",
true);
12098 if (!swig_get_self()) {
12099 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12101 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12102 const size_t swig_method_index = 3;
12103 const char *
const swig_method_name =
"allowCalc";
12104 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12109 swig_set_inner(
"allowCalc",
false);
12111 PyObject *error = PyErr_Occurred();
12113 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.allowCalc'");
12117 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12118 if (!SWIG_IsOK(swig_res)) {
12119 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12121 c_result = static_cast< bool >(swig_val);
12122 return (
bool) c_result;
12126 void SwigDirector_ResonanceWidths::calcPreFac(
bool arg0) {
12128 obj0 = SWIG_From_bool(static_cast< bool >(arg0));
12129 swig_set_inner(
"calcPreFac",
true);
12130 if (!swig_get_self()) {
12131 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12133 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12134 const size_t swig_method_index = 4;
12135 const char *
const swig_method_name =
"calcPreFac";
12136 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12139 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"calcPreFac", (
char *)
"(O)" ,(PyObject *)obj0);
12141 swig_set_inner(
"calcPreFac",
false);
12143 PyObject *error = PyErr_Occurred();
12145 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.calcPreFac'");
12151 void SwigDirector_ResonanceWidths::calcWidth(
bool arg0) {
12153 obj0 = SWIG_From_bool(static_cast< bool >(arg0));
12154 swig_set_inner(
"calcWidth",
true);
12155 if (!swig_get_self()) {
12156 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call ResonanceWidths.__init__.");
12158 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12159 const size_t swig_method_index = 6;
12160 const char *
const swig_method_name =
"calcWidth";
12161 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12164 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"calcWidth", (
char *)
"(O)" ,(PyObject *)obj0);
12166 swig_set_inner(
"calcWidth",
false);
12168 PyObject *error = PyErr_Occurred();
12170 Swig::DirectorMethodException::raise(
"Error detected when calling 'ResonanceWidths.calcWidth'");
12176 SwigDirector_LHAup::SwigDirector_LHAup(PyObject *
self,
int strategyIn): Pythia8::
LHAup(strategyIn), Swig::Director(self) {
12183 SwigDirector_LHAup::~SwigDirector_LHAup() {
12186 void SwigDirector_LHAup::newEventFile(
char const *arg0) {
12188 obj0 = SWIG_FromCharPtr((
const char *)arg0);
12189 if (!swig_get_self()) {
12190 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12192 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12193 const size_t swig_method_index = 0;
12194 const char *
const swig_method_name =
"newEventFile";
12195 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12198 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"newEventFile", (
char *)
"(O)" ,(PyObject *)obj0);
12201 PyObject *error = PyErr_Occurred();
12203 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.newEventFile'");
12209 bool SwigDirector_LHAup::fileFound() {
12211 if (!swig_get_self()) {
12212 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12214 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12215 const size_t swig_method_index = 1;
12216 const char *
const swig_method_name =
"fileFound";
12217 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12223 PyObject *error = PyErr_Occurred();
12225 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.fileFound'");
12229 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12230 if (!SWIG_IsOK(swig_res)) {
12231 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12233 c_result = static_cast< bool >(swig_val);
12234 return (
bool) c_result;
12238 bool SwigDirector_LHAup::useExternal() {
12240 if (!swig_get_self()) {
12241 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12243 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12244 const size_t swig_method_index = 2;
12245 const char *
const swig_method_name =
"useExternal";
12246 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12252 PyObject *error = PyErr_Occurred();
12254 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.useExternal'");
12258 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12259 if (!SWIG_IsOK(swig_res)) {
12260 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12262 c_result = static_cast< bool >(swig_val);
12263 return (
bool) c_result;
12267 bool SwigDirector_LHAup::setInit() {
12269 if (!swig_get_self()) {
12270 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12272 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12273 const size_t swig_method_index = 3;
12274 const char *
const swig_method_name =
"setInit";
12275 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12281 PyObject *error = PyErr_Occurred();
12283 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.setInit'");
12287 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12288 if (!SWIG_IsOK(swig_res)) {
12289 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12291 c_result = static_cast< bool >(swig_val);
12292 return (
bool) c_result;
12296 bool SwigDirector_LHAup::setEvent(
int idProcIn) {
12299 obj0 = SWIG_From_int(static_cast< int >(idProcIn));
12300 if (!swig_get_self()) {
12301 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12303 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12304 const size_t swig_method_index = 4;
12305 const char *
const swig_method_name =
"setEvent";
12306 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12309 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setEvent", (
char *)
"(O)" ,(PyObject *)obj0);
12312 PyObject *error = PyErr_Occurred();
12314 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.setEvent'");
12318 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12319 if (!SWIG_IsOK(swig_res)) {
12320 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12322 c_result = static_cast< bool >(swig_val);
12323 return (
bool) c_result;
12327 bool SwigDirector_LHAup::skipEvent(
int nSkip) {
12330 obj0 = SWIG_From_int(static_cast< int >(nSkip));
12331 if (!swig_get_self()) {
12332 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12334 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12335 const size_t swig_method_index = 6;
12336 const char *
const swig_method_name =
"skipEvent";
12337 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12340 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"skipEvent", (
char *)
"(O)" ,(PyObject *)obj0);
12343 PyObject *error = PyErr_Occurred();
12345 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.skipEvent'");
12349 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12350 if (!SWIG_IsOK(swig_res)) {
12351 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12353 c_result = static_cast< bool >(swig_val);
12354 return (
bool) c_result;
12358 bool SwigDirector_LHAup::openLHEF(std::string fileNameIn) {
12361 obj0 = SWIG_From_std_string(static_cast< std::string >(fileNameIn));
12362 if (!swig_get_self()) {
12363 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12365 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12366 const size_t swig_method_index = 7;
12367 const char *
const swig_method_name =
"openLHEF";
12368 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12371 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"openLHEF", (
char *)
"(O)" ,(PyObject *)obj0);
12374 PyObject *error = PyErr_Occurred();
12376 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.openLHEF'");
12380 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12381 if (!SWIG_IsOK(swig_res)) {
12382 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12384 c_result = static_cast< bool >(swig_val);
12385 return (
bool) c_result;
12389 bool SwigDirector_LHAup::closeLHEF(
bool updateInit) {
12392 obj0 = SWIG_From_bool(static_cast< bool >(updateInit));
12393 if (!swig_get_self()) {
12394 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call LHAup.__init__.");
12396 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12397 const size_t swig_method_index = 8;
12398 const char *
const swig_method_name =
"closeLHEF";
12399 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12402 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"closeLHEF", (
char *)
"(O)" ,(PyObject *)obj0);
12405 PyObject *error = PyErr_Occurred();
12407 Swig::DirectorMethodException::raise(
"Error detected when calling 'LHAup.closeLHEF'");
12411 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12412 if (!SWIG_IsOK(swig_res)) {
12413 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12415 c_result = static_cast< bool >(swig_val);
12416 return (
bool) c_result;
12420 SwigDirector_MergingHooks::SwigDirector_MergingHooks(PyObject *
self): Pythia8::
MergingHooks(), Swig::Director(self) {
12427 SwigDirector_MergingHooks::~SwigDirector_MergingHooks() {
12430 double SwigDirector_MergingHooks::tmsDefinition(
Pythia8::Event const &event) {
12433 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12434 if (!swig_get_self()) {
12435 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12437 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12438 const size_t swig_method_index = 0;
12439 const char *
const swig_method_name =
"tmsDefinition";
12440 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12443 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"tmsDefinition", (
char *)
"(O)" ,(PyObject *)obj0);
12446 PyObject *error = PyErr_Occurred();
12448 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.tmsDefinition'");
12452 int swig_res = SWIG_AsVal_double(result, &swig_val);
12453 if (!SWIG_IsOK(swig_res)) {
12454 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
12456 c_result = static_cast< double >(swig_val);
12457 return (
double) c_result;
12461 double SwigDirector_MergingHooks::dampenIfFailCuts(
Pythia8::Event const &inEvent) {
12464 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&inEvent), SWIGTYPE_p_Pythia8__Event, 0 );
12465 if (!swig_get_self()) {
12466 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12468 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12469 const size_t swig_method_index = 1;
12470 const char *
const swig_method_name =
"dampenIfFailCuts";
12471 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12474 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"dampenIfFailCuts", (
char *)
"(O)" ,(PyObject *)obj0);
12477 PyObject *error = PyErr_Occurred();
12479 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.dampenIfFailCuts'");
12483 int swig_res = SWIG_AsVal_double(result, &swig_val);
12484 if (!SWIG_IsOK(swig_res)) {
12485 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
12487 c_result = static_cast< double >(swig_val);
12488 return (
double) c_result;
12492 bool SwigDirector_MergingHooks::canCutOnRecState() {
12494 if (!swig_get_self()) {
12495 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12497 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12498 const size_t swig_method_index = 2;
12499 const char *
const swig_method_name =
"canCutOnRecState";
12500 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12503 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canCutOnRecState", NULL);
12506 PyObject *error = PyErr_Occurred();
12508 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.canCutOnRecState'");
12512 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12513 if (!SWIG_IsOK(swig_res)) {
12514 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12516 c_result = static_cast< bool >(swig_val);
12517 return (
bool) c_result;
12521 bool SwigDirector_MergingHooks::doCutOnRecState(
Pythia8::Event const &event) {
12524 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12525 if (!swig_get_self()) {
12526 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12528 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12529 const size_t swig_method_index = 3;
12530 const char *
const swig_method_name =
"doCutOnRecState";
12531 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12534 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doCutOnRecState", (
char *)
"(O)" ,(PyObject *)obj0);
12537 PyObject *error = PyErr_Occurred();
12539 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.doCutOnRecState'");
12543 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12544 if (!SWIG_IsOK(swig_res)) {
12545 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12547 c_result = static_cast< bool >(swig_val);
12548 return (
bool) c_result;
12552 bool SwigDirector_MergingHooks::canVetoTrialEmission() {
12554 if (!swig_get_self()) {
12555 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12557 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12558 const size_t swig_method_index = 4;
12559 const char *
const swig_method_name =
"canVetoTrialEmission";
12560 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12563 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoTrialEmission", NULL);
12566 PyObject *error = PyErr_Occurred();
12568 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.canVetoTrialEmission'");
12572 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12573 if (!SWIG_IsOK(swig_res)) {
12574 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12576 c_result = static_cast< bool >(swig_val);
12577 return (
bool) c_result;
12584 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
12586 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
12587 if (!swig_get_self()) {
12588 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12590 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12591 const size_t swig_method_index = 5;
12592 const char *
const swig_method_name =
"doVetoTrialEmission";
12593 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12594 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
12596 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoTrialEmission", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
12599 PyObject *error = PyErr_Occurred();
12601 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.doVetoTrialEmission'");
12605 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12606 if (!SWIG_IsOK(swig_res)) {
12607 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12609 c_result = static_cast< bool >(swig_val);
12610 return (
bool) c_result;
12614 double SwigDirector_MergingHooks::hardProcessME(
Pythia8::Event const &inEvent) {
12617 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&inEvent), SWIGTYPE_p_Pythia8__Event, 0 );
12618 if (!swig_get_self()) {
12619 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12621 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12622 const size_t swig_method_index = 6;
12623 const char *
const swig_method_name =
"hardProcessME";
12624 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12627 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"hardProcessME", (
char *)
"(O)" ,(PyObject *)obj0);
12630 PyObject *error = PyErr_Occurred();
12632 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.hardProcessME'");
12636 int swig_res = SWIG_AsVal_double(result, &swig_val);
12637 if (!SWIG_IsOK(swig_res)) {
12638 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
12640 c_result = static_cast< double >(swig_val);
12641 return (
double) c_result;
12645 void SwigDirector_MergingHooks::init() {
12646 if (!swig_get_self()) {
12647 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12649 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12650 const size_t swig_method_index = 7;
12651 const char *
const swig_method_name =
"init";
12652 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12658 PyObject *error = PyErr_Occurred();
12660 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.init'");
12666 int SwigDirector_MergingHooks::getNumberOfClusteringSteps(
Pythia8::Event const &event,
bool resetNjetMax) {
12669 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12671 obj1 = SWIG_From_bool(static_cast< bool >(resetNjetMax));
12672 if (!swig_get_self()) {
12673 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12675 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12676 const size_t swig_method_index = 8;
12677 const char *
const swig_method_name =
"getNumberOfClusteringSteps";
12678 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12679 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
12681 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getNumberOfClusteringSteps", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
12684 PyObject *error = PyErr_Occurred();
12686 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.getNumberOfClusteringSteps'");
12690 int swig_res = SWIG_AsVal_int(result, &swig_val);
12691 if (!SWIG_IsOK(swig_res)) {
12692 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
12694 c_result = static_cast< int >(swig_val);
12695 return (
int) c_result;
12699 double SwigDirector_MergingHooks::tmsNow(
Pythia8::Event const &event) {
12702 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12703 if (!swig_get_self()) {
12704 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12706 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12707 const size_t swig_method_index = 10;
12708 const char *
const swig_method_name =
"tmsNow";
12709 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12712 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"tmsNow", (
char *)
"(O)" ,(PyObject *)obj0);
12715 PyObject *error = PyErr_Occurred();
12717 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.tmsNow'");
12721 int swig_res = SWIG_AsVal_double(result, &swig_val);
12722 if (!SWIG_IsOK(swig_res)) {
12723 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
12725 c_result = static_cast< double >(swig_val);
12726 return (
double) c_result;
12730 bool SwigDirector_MergingHooks::canVetoEmission() {
12732 if (!swig_get_self()) {
12733 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12735 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12736 const size_t swig_method_index = 11;
12737 const char *
const swig_method_name =
"canVetoEmission";
12738 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12744 PyObject *error = PyErr_Occurred();
12746 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.canVetoEmission'");
12750 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12751 if (!SWIG_IsOK(swig_res)) {
12752 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12754 c_result = static_cast< bool >(swig_val);
12755 return (
bool) c_result;
12759 bool SwigDirector_MergingHooks::doVetoEmission(
Pythia8::Event const &arg0) {
12762 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
12763 if (!swig_get_self()) {
12764 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12766 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12767 const size_t swig_method_index = 12;
12768 const char *
const swig_method_name =
"doVetoEmission";
12769 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12772 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoEmission", (
char *)
"(O)" ,(PyObject *)obj0);
12775 PyObject *error = PyErr_Occurred();
12777 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.doVetoEmission'");
12781 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12782 if (!SWIG_IsOK(swig_res)) {
12783 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12785 c_result = static_cast< bool >(swig_val);
12786 return (
bool) c_result;
12790 bool SwigDirector_MergingHooks::useShowerPlugin() {
12792 if (!swig_get_self()) {
12793 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12795 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12796 const size_t swig_method_index = 13;
12797 const char *
const swig_method_name =
"useShowerPlugin";
12798 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12804 PyObject *error = PyErr_Occurred();
12806 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.useShowerPlugin'");
12810 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12811 if (!SWIG_IsOK(swig_res)) {
12812 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12814 c_result = static_cast< bool >(swig_val);
12815 return (
bool) c_result;
12819 bool SwigDirector_MergingHooks::canVetoStep() {
12821 if (!swig_get_self()) {
12822 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12824 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12825 const size_t swig_method_index = 14;
12826 const char *
const swig_method_name =
"canVetoStep";
12827 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12833 PyObject *error = PyErr_Occurred();
12835 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.canVetoStep'");
12839 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12840 if (!SWIG_IsOK(swig_res)) {
12841 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12843 c_result = static_cast< bool >(swig_val);
12844 return (
bool) c_result;
12851 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&process), SWIGTYPE_p_Pythia8__Event, 0 );
12853 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12855 obj2 = SWIG_From_bool(static_cast< bool >(doResonance));
12856 if (!swig_get_self()) {
12857 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12859 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12860 const size_t swig_method_index = 15;
12861 const char *
const swig_method_name =
"doVetoStep";
12862 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12863 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
12865 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoStep", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
12868 PyObject *error = PyErr_Occurred();
12870 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.doVetoStep'");
12874 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12875 if (!SWIG_IsOK(swig_res)) {
12876 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12878 c_result = static_cast< bool >(swig_val);
12879 return (
bool) c_result;
12883 bool SwigDirector_MergingHooks::setShowerStartingScales(
bool isTrial,
bool doMergeFirstEmm,
double &pTscaleIn,
Pythia8::Event const &event,
double &pTmaxFSRIn,
bool &limitPTmaxFSRin,
double &pTmaxISRIn,
bool &limitPTmaxISRin,
double &pTmaxMPIIn,
bool &limitPTmaxMPIin) {
12886 obj0 = SWIG_From_bool(static_cast< bool >(isTrial));
12888 obj1 = SWIG_From_bool(static_cast< bool >(doMergeFirstEmm));
12890 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&pTscaleIn), SWIGTYPE_p_double, 0 );
12892 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(&event), SWIGTYPE_p_Pythia8__Event, 0 );
12894 obj4 = SWIG_NewPointerObj(SWIG_as_voidptr(&pTmaxFSRIn), SWIGTYPE_p_double, 0 );
12896 obj5 = SWIG_NewPointerObj(SWIG_as_voidptr(&limitPTmaxFSRin), SWIGTYPE_p_bool, 0 );
12898 obj6 = SWIG_NewPointerObj(SWIG_as_voidptr(&pTmaxISRIn), SWIGTYPE_p_double, 0 );
12900 obj7 = SWIG_NewPointerObj(SWIG_as_voidptr(&limitPTmaxISRin), SWIGTYPE_p_bool, 0 );
12902 obj8 = SWIG_NewPointerObj(SWIG_as_voidptr(&pTmaxMPIIn), SWIGTYPE_p_double, 0 );
12904 obj9 = SWIG_NewPointerObj(SWIG_as_voidptr(&limitPTmaxMPIin), SWIGTYPE_p_bool, 0 );
12905 if (!swig_get_self()) {
12906 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call MergingHooks.__init__.");
12908 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12909 const size_t swig_method_index = 17;
12910 const char *
const swig_method_name =
"setShowerStartingScales";
12911 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12912 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9);
12914 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setShowerStartingScales", (
char *)
"(OOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9);
12917 PyObject *error = PyErr_Occurred();
12919 Swig::DirectorMethodException::raise(
"Error detected when calling 'MergingHooks.setShowerStartingScales'");
12923 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12924 if (!SWIG_IsOK(swig_res)) {
12925 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12927 c_result = static_cast< bool >(swig_val);
12928 return (
bool) c_result;
12932 SwigDirector_SigmaProcess::SwigDirector_SigmaProcess(PyObject *
self): Pythia8::
SigmaProcess(), Swig::Director(self) {
12939 SwigDirector_SigmaProcess::~SwigDirector_SigmaProcess() {
12942 void SwigDirector_SigmaProcess::initProc() {
12943 if (!swig_get_self()) {
12944 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
12946 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12947 const size_t swig_method_index = 0;
12948 const char *
const swig_method_name =
"initProc";
12949 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12955 PyObject *error = PyErr_Occurred();
12957 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.initProc'");
12963 bool SwigDirector_SigmaProcess::initFlux() {
12965 if (!swig_get_self()) {
12966 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
12968 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
12969 const size_t swig_method_index = 1;
12970 const char *
const swig_method_name =
"initFlux";
12971 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
12977 PyObject *error = PyErr_Occurred();
12979 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.initFlux'");
12983 int swig_res = SWIG_AsVal_bool(result, &swig_val);
12984 if (!SWIG_IsOK(swig_res)) {
12985 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
12987 c_result = static_cast< bool >(swig_val);
12988 return (
bool) c_result;
12992 void SwigDirector_SigmaProcess::set1Kin(
double arg0,
double arg1,
double arg2) {
12994 obj0 = SWIG_From_double(static_cast< double >(arg0));
12996 obj1 = SWIG_From_double(static_cast< double >(arg1));
12998 obj2 = SWIG_From_double(static_cast< double >(arg2));
12999 if (!swig_get_self()) {
13000 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13002 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13003 const size_t swig_method_index = 2;
13004 const char *
const swig_method_name =
"set1Kin";
13005 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13006 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
13008 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"set1Kin", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
13011 PyObject *error = PyErr_Occurred();
13013 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.set1Kin'");
13019 void SwigDirector_SigmaProcess::set2Kin(
double arg0,
double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6,
double arg7) {
13021 obj0 = SWIG_From_double(static_cast< double >(arg0));
13023 obj1 = SWIG_From_double(static_cast< double >(arg1));
13025 obj2 = SWIG_From_double(static_cast< double >(arg2));
13027 obj3 = SWIG_From_double(static_cast< double >(arg3));
13029 obj4 = SWIG_From_double(static_cast< double >(arg4));
13031 obj5 = SWIG_From_double(static_cast< double >(arg5));
13033 obj6 = SWIG_From_double(static_cast< double >(arg6));
13035 obj7 = SWIG_From_double(static_cast< double >(arg7));
13036 if (!swig_get_self()) {
13037 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13039 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13040 const size_t swig_method_index = 3;
13041 const char *
const swig_method_name =
"set2Kin";
13042 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13043 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7);
13045 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"set2Kin", (
char *)
"(OOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7);
13048 PyObject *error = PyErr_Occurred();
13050 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.set2Kin'");
13056 void SwigDirector_SigmaProcess::set2KinMPI(
double arg0,
double arg1,
double arg2,
double arg3,
double arg4,
double arg5,
double arg6,
bool arg7,
double arg8,
double arg9) {
13058 obj0 = SWIG_From_double(static_cast< double >(arg0));
13060 obj1 = SWIG_From_double(static_cast< double >(arg1));
13062 obj2 = SWIG_From_double(static_cast< double >(arg2));
13064 obj3 = SWIG_From_double(static_cast< double >(arg3));
13066 obj4 = SWIG_From_double(static_cast< double >(arg4));
13068 obj5 = SWIG_From_double(static_cast< double >(arg5));
13070 obj6 = SWIG_From_double(static_cast< double >(arg6));
13072 obj7 = SWIG_From_bool(static_cast< bool >(arg7));
13074 obj8 = SWIG_From_double(static_cast< double >(arg8));
13076 obj9 = SWIG_From_double(static_cast< double >(arg9));
13077 if (!swig_get_self()) {
13078 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13080 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13081 const size_t swig_method_index = 4;
13082 const char *
const swig_method_name =
"set2KinMPI";
13083 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13084 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9);
13086 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"set2KinMPI", (
char *)
"(OOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9);
13089 PyObject *error = PyErr_Occurred();
13091 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.set2KinMPI'");
13097 void SwigDirector_SigmaProcess::set3Kin(
double arg0,
double arg1,
double arg2,
Pythia8::Vec4 arg3,
Pythia8::Vec4 arg4,
Pythia8::Vec4 arg5,
double arg6,
double arg7,
double arg8,
double arg9,
double arg10,
double arg11) {
13099 obj0 = SWIG_From_double(static_cast< double >(arg0));
13101 obj1 = SWIG_From_double(static_cast< double >(arg1));
13103 obj2 = SWIG_From_double(static_cast< double >(arg2));
13105 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg3), SWIGTYPE_p_Pythia8__Vec4, 0 );
13107 obj4 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg4), SWIGTYPE_p_Pythia8__Vec4, 0 );
13109 obj5 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg5), SWIGTYPE_p_Pythia8__Vec4, 0 );
13111 obj6 = SWIG_From_double(static_cast< double >(arg6));
13113 obj7 = SWIG_From_double(static_cast< double >(arg7));
13115 obj8 = SWIG_From_double(static_cast< double >(arg8));
13117 obj9 = SWIG_From_double(static_cast< double >(arg9));
13119 obj10 = SWIG_From_double(static_cast< double >(arg10));
13121 obj11 = SWIG_From_double(static_cast< double >(arg11));
13122 if (!swig_get_self()) {
13123 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13125 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13126 const size_t swig_method_index = 5;
13127 const char *
const swig_method_name =
"set3Kin";
13128 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13129 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9,(PyObject *)obj10,(PyObject *)obj11);
13131 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"set3Kin", (
char *)
"(OOOOOOOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6,(PyObject *)obj7,(PyObject *)obj8,(PyObject *)obj9,(PyObject *)obj10,(PyObject *)obj11);
13134 PyObject *error = PyErr_Occurred();
13136 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.set3Kin'");
13142 void SwigDirector_SigmaProcess::sigmaKin() {
13143 if (!swig_get_self()) {
13144 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13146 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13147 const size_t swig_method_index = 6;
13148 const char *
const swig_method_name =
"sigmaKin";
13149 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13155 PyObject *error = PyErr_Occurred();
13157 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.sigmaKin'");
13163 double SwigDirector_SigmaProcess::sigmaHat() {
13165 if (!swig_get_self()) {
13166 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13168 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13169 const size_t swig_method_index = 7;
13170 const char *
const swig_method_name =
"sigmaHat";
13171 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13177 PyObject *error = PyErr_Occurred();
13179 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.sigmaHat'");
13183 int swig_res = SWIG_AsVal_double(result, &swig_val);
13184 if (!SWIG_IsOK(swig_res)) {
13185 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
13187 c_result = static_cast< double >(swig_val);
13188 return (
double) c_result;
13192 double SwigDirector_SigmaProcess::sigmaHatWrap(
int id1in,
int id2in) {
13195 obj0 = SWIG_From_int(static_cast< int >(id1in));
13197 obj1 = SWIG_From_int(static_cast< int >(id2in));
13198 if (!swig_get_self()) {
13199 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13201 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13202 const size_t swig_method_index = 8;
13203 const char *
const swig_method_name =
"sigmaHatWrap";
13204 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13205 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
13207 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"sigmaHatWrap", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
13210 PyObject *error = PyErr_Occurred();
13212 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.sigmaHatWrap'");
13216 int swig_res = SWIG_AsVal_double(result, &swig_val);
13217 if (!SWIG_IsOK(swig_res)) {
13218 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
13220 c_result = static_cast< double >(swig_val);
13221 return (
double) c_result;
13225 double SwigDirector_SigmaProcess::sigmaPDF(
bool initPS,
bool samexGamma,
bool useNewXvalues,
double x1New,
double x2New) {
13228 obj0 = SWIG_From_bool(static_cast< bool >(initPS));
13230 obj1 = SWIG_From_bool(static_cast< bool >(samexGamma));
13232 obj2 = SWIG_From_bool(static_cast< bool >(useNewXvalues));
13234 obj3 = SWIG_From_double(static_cast< double >(x1New));
13236 obj4 = SWIG_From_double(static_cast< double >(x2New));
13237 if (!swig_get_self()) {
13238 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13240 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13241 const size_t swig_method_index = 11;
13242 const char *
const swig_method_name =
"sigmaPDF";
13243 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13244 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
13246 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"sigmaPDF", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
13249 PyObject *error = PyErr_Occurred();
13251 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.sigmaPDF'");
13255 int swig_res = SWIG_AsVal_double(result, &swig_val);
13256 if (!SWIG_IsOK(swig_res)) {
13257 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
13259 c_result = static_cast< double >(swig_val);
13260 return (
double) c_result;
13264 void SwigDirector_SigmaProcess::setIdColAcol() {
13265 if (!swig_get_self()) {
13266 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13268 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13269 const size_t swig_method_index = 17;
13270 const char *
const swig_method_name =
"setIdColAcol";
13271 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13277 PyObject *error = PyErr_Occurred();
13279 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.setIdColAcol'");
13285 bool SwigDirector_SigmaProcess::final2KinMPI(
int arg0,
int arg1,
Pythia8::Vec4 arg2,
Pythia8::Vec4 arg3,
double arg4,
double arg5) {
13288 obj0 = SWIG_From_int(static_cast< int >(arg0));
13290 obj1 = SWIG_From_int(static_cast< int >(arg1));
13292 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg2), SWIGTYPE_p_Pythia8__Vec4, 0 );
13294 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg3), SWIGTYPE_p_Pythia8__Vec4, 0 );
13296 obj4 = SWIG_From_double(static_cast< double >(arg4));
13298 obj5 = SWIG_From_double(static_cast< double >(arg5));
13299 if (!swig_get_self()) {
13300 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13302 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13303 const size_t swig_method_index = 18;
13304 const char *
const swig_method_name =
"final2KinMPI";
13305 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13306 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5);
13308 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"final2KinMPI", (
char *)
"(OOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5);
13311 PyObject *error = PyErr_Occurred();
13313 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.final2KinMPI'");
13317 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13318 if (!SWIG_IsOK(swig_res)) {
13319 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13321 c_result = static_cast< bool >(swig_val);
13322 return (
bool) c_result;
13326 double SwigDirector_SigmaProcess::weightDecayFlav(
Pythia8::Event &arg0) {
13329 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
13330 if (!swig_get_self()) {
13331 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13333 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13334 const size_t swig_method_index = 25;
13335 const char *
const swig_method_name =
"weightDecayFlav";
13336 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13339 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"weightDecayFlav", (
char *)
"(O)" ,(PyObject *)obj0);
13342 PyObject *error = PyErr_Occurred();
13344 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.weightDecayFlav'");
13348 int swig_res = SWIG_AsVal_double(result, &swig_val);
13349 if (!SWIG_IsOK(swig_res)) {
13350 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
13352 c_result = static_cast< double >(swig_val);
13353 return (
double) c_result;
13357 double SwigDirector_SigmaProcess::weightDecay(
Pythia8::Event &arg0,
int arg1,
int arg2) {
13360 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
13362 obj1 = SWIG_From_int(static_cast< int >(arg1));
13364 obj2 = SWIG_From_int(static_cast< int >(arg2));
13365 if (!swig_get_self()) {
13366 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13368 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13369 const size_t swig_method_index = 26;
13370 const char *
const swig_method_name =
"weightDecay";
13371 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13372 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
13374 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"weightDecay", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
13377 PyObject *error = PyErr_Occurred();
13379 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.weightDecay'");
13383 int swig_res = SWIG_AsVal_double(result, &swig_val);
13384 if (!SWIG_IsOK(swig_res)) {
13385 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
13387 c_result = static_cast< double >(swig_val);
13388 return (
double) c_result;
13392 void SwigDirector_SigmaProcess::setScale() {
13393 if (!swig_get_self()) {
13394 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13396 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13397 const size_t swig_method_index = 27;
13398 const char *
const swig_method_name =
"setScale";
13399 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13405 PyObject *error = PyErr_Occurred();
13407 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.setScale'");
13413 std::string SwigDirector_SigmaProcess::name()
const {
13414 std::string c_result;
13415 if (!swig_get_self()) {
13416 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13418 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13419 const size_t swig_method_index = 28;
13420 const char *
const swig_method_name =
"name";
13421 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13427 PyObject *error = PyErr_Occurred();
13429 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.name'");
13432 std::string *swig_optr = 0;
13433 int swig_ores = SWIG_AsPtr_std_string(result, &swig_optr);
13434 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
13435 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::string""'");
13437 c_result = *swig_optr;
13438 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
13439 return (std::string) c_result;
13443 int SwigDirector_SigmaProcess::code()
const {
13445 if (!swig_get_self()) {
13446 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13448 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13449 const size_t swig_method_index = 29;
13450 const char *
const swig_method_name =
"code";
13451 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13457 PyObject *error = PyErr_Occurred();
13459 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.code'");
13463 int swig_res = SWIG_AsVal_int(result, &swig_val);
13464 if (!SWIG_IsOK(swig_res)) {
13465 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13467 c_result = static_cast< int >(swig_val);
13468 return (
int) c_result;
13472 int SwigDirector_SigmaProcess::nFinal()
const {
13474 if (!swig_get_self()) {
13475 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13477 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13478 const size_t swig_method_index = 30;
13479 const char *
const swig_method_name =
"nFinal";
13480 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13486 PyObject *error = PyErr_Occurred();
13488 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.nFinal'");
13492 int swig_res = SWIG_AsVal_int(result, &swig_val);
13493 if (!SWIG_IsOK(swig_res)) {
13494 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13496 c_result = static_cast< int >(swig_val);
13497 return (
int) c_result;
13501 std::string SwigDirector_SigmaProcess::inFlux()
const {
13502 std::string c_result;
13503 if (!swig_get_self()) {
13504 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13506 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13507 const size_t swig_method_index = 31;
13508 const char *
const swig_method_name =
"inFlux";
13509 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13515 PyObject *error = PyErr_Occurred();
13517 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.inFlux'");
13520 std::string *swig_optr = 0;
13521 int swig_ores = SWIG_AsPtr_std_string(result, &swig_optr);
13522 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
13523 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::string""'");
13525 c_result = *swig_optr;
13526 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
13527 return (std::string) c_result;
13531 bool SwigDirector_SigmaProcess::convert2mb()
const {
13533 if (!swig_get_self()) {
13534 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13536 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13537 const size_t swig_method_index = 32;
13538 const char *
const swig_method_name =
"convert2mb";
13539 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13545 PyObject *error = PyErr_Occurred();
13547 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.convert2mb'");
13551 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13552 if (!SWIG_IsOK(swig_res)) {
13553 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13555 c_result = static_cast< bool >(swig_val);
13556 return (
bool) c_result;
13560 bool SwigDirector_SigmaProcess::convertM2()
const {
13562 if (!swig_get_self()) {
13563 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13565 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13566 const size_t swig_method_index = 33;
13567 const char *
const swig_method_name =
"convertM2";
13568 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13574 PyObject *error = PyErr_Occurred();
13576 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.convertM2'");
13580 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13581 if (!SWIG_IsOK(swig_res)) {
13582 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13584 c_result = static_cast< bool >(swig_val);
13585 return (
bool) c_result;
13589 bool SwigDirector_SigmaProcess::isLHA()
const {
13591 if (!swig_get_self()) {
13592 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13594 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13595 const size_t swig_method_index = 34;
13596 const char *
const swig_method_name =
"isLHA";
13597 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13603 PyObject *error = PyErr_Occurred();
13605 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isLHA'");
13609 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13610 if (!SWIG_IsOK(swig_res)) {
13611 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13613 c_result = static_cast< bool >(swig_val);
13614 return (
bool) c_result;
13618 bool SwigDirector_SigmaProcess::isNonDiff()
const {
13620 if (!swig_get_self()) {
13621 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13623 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13624 const size_t swig_method_index = 35;
13625 const char *
const swig_method_name =
"isNonDiff";
13626 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13632 PyObject *error = PyErr_Occurred();
13634 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isNonDiff'");
13638 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13639 if (!SWIG_IsOK(swig_res)) {
13640 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13642 c_result = static_cast< bool >(swig_val);
13643 return (
bool) c_result;
13647 bool SwigDirector_SigmaProcess::isResolved()
const {
13649 if (!swig_get_self()) {
13650 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13652 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13653 const size_t swig_method_index = 36;
13654 const char *
const swig_method_name =
"isResolved";
13655 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13661 PyObject *error = PyErr_Occurred();
13663 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isResolved'");
13667 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13668 if (!SWIG_IsOK(swig_res)) {
13669 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13671 c_result = static_cast< bool >(swig_val);
13672 return (
bool) c_result;
13676 bool SwigDirector_SigmaProcess::isDiffA()
const {
13678 if (!swig_get_self()) {
13679 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13681 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13682 const size_t swig_method_index = 37;
13683 const char *
const swig_method_name =
"isDiffA";
13684 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13690 PyObject *error = PyErr_Occurred();
13692 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isDiffA'");
13696 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13697 if (!SWIG_IsOK(swig_res)) {
13698 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13700 c_result = static_cast< bool >(swig_val);
13701 return (
bool) c_result;
13705 bool SwigDirector_SigmaProcess::isDiffB()
const {
13707 if (!swig_get_self()) {
13708 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13710 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13711 const size_t swig_method_index = 38;
13712 const char *
const swig_method_name =
"isDiffB";
13713 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13719 PyObject *error = PyErr_Occurred();
13721 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isDiffB'");
13725 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13726 if (!SWIG_IsOK(swig_res)) {
13727 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13729 c_result = static_cast< bool >(swig_val);
13730 return (
bool) c_result;
13734 bool SwigDirector_SigmaProcess::isDiffC()
const {
13736 if (!swig_get_self()) {
13737 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13739 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13740 const size_t swig_method_index = 39;
13741 const char *
const swig_method_name =
"isDiffC";
13742 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13748 PyObject *error = PyErr_Occurred();
13750 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isDiffC'");
13754 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13755 if (!SWIG_IsOK(swig_res)) {
13756 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13758 c_result = static_cast< bool >(swig_val);
13759 return (
bool) c_result;
13763 bool SwigDirector_SigmaProcess::isSUSY()
const {
13765 if (!swig_get_self()) {
13766 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13768 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13769 const size_t swig_method_index = 40;
13770 const char *
const swig_method_name =
"isSUSY";
13771 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13777 PyObject *error = PyErr_Occurred();
13779 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isSUSY'");
13783 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13784 if (!SWIG_IsOK(swig_res)) {
13785 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13787 c_result = static_cast< bool >(swig_val);
13788 return (
bool) c_result;
13792 bool SwigDirector_SigmaProcess::allowNegativeSigma()
const {
13794 if (!swig_get_self()) {
13795 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13797 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13798 const size_t swig_method_index = 41;
13799 const char *
const swig_method_name =
"allowNegativeSigma";
13800 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13803 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"allowNegativeSigma", NULL);
13806 PyObject *error = PyErr_Occurred();
13808 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.allowNegativeSigma'");
13812 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13813 if (!SWIG_IsOK(swig_res)) {
13814 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13816 c_result = static_cast< bool >(swig_val);
13817 return (
bool) c_result;
13821 int SwigDirector_SigmaProcess::id3Mass()
const {
13823 if (!swig_get_self()) {
13824 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13826 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13827 const size_t swig_method_index = 42;
13828 const char *
const swig_method_name =
"id3Mass";
13829 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13835 PyObject *error = PyErr_Occurred();
13837 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.id3Mass'");
13841 int swig_res = SWIG_AsVal_int(result, &swig_val);
13842 if (!SWIG_IsOK(swig_res)) {
13843 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13845 c_result = static_cast< int >(swig_val);
13846 return (
int) c_result;
13850 int SwigDirector_SigmaProcess::id4Mass()
const {
13852 if (!swig_get_self()) {
13853 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13855 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13856 const size_t swig_method_index = 43;
13857 const char *
const swig_method_name =
"id4Mass";
13858 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13864 PyObject *error = PyErr_Occurred();
13866 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.id4Mass'");
13870 int swig_res = SWIG_AsVal_int(result, &swig_val);
13871 if (!SWIG_IsOK(swig_res)) {
13872 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13874 c_result = static_cast< int >(swig_val);
13875 return (
int) c_result;
13879 int SwigDirector_SigmaProcess::id5Mass()
const {
13881 if (!swig_get_self()) {
13882 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13884 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13885 const size_t swig_method_index = 44;
13886 const char *
const swig_method_name =
"id5Mass";
13887 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13893 PyObject *error = PyErr_Occurred();
13895 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.id5Mass'");
13899 int swig_res = SWIG_AsVal_int(result, &swig_val);
13900 if (!SWIG_IsOK(swig_res)) {
13901 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13903 c_result = static_cast< int >(swig_val);
13904 return (
int) c_result;
13908 int SwigDirector_SigmaProcess::resonanceA()
const {
13910 if (!swig_get_self()) {
13911 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13913 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13914 const size_t swig_method_index = 45;
13915 const char *
const swig_method_name =
"resonanceA";
13916 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13922 PyObject *error = PyErr_Occurred();
13924 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.resonanceA'");
13928 int swig_res = SWIG_AsVal_int(result, &swig_val);
13929 if (!SWIG_IsOK(swig_res)) {
13930 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13932 c_result = static_cast< int >(swig_val);
13933 return (
int) c_result;
13937 int SwigDirector_SigmaProcess::resonanceB()
const {
13939 if (!swig_get_self()) {
13940 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13942 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13943 const size_t swig_method_index = 46;
13944 const char *
const swig_method_name =
"resonanceB";
13945 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13951 PyObject *error = PyErr_Occurred();
13953 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.resonanceB'");
13957 int swig_res = SWIG_AsVal_int(result, &swig_val);
13958 if (!SWIG_IsOK(swig_res)) {
13959 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
13961 c_result = static_cast< int >(swig_val);
13962 return (
int) c_result;
13966 bool SwigDirector_SigmaProcess::isSChannel()
const {
13968 if (!swig_get_self()) {
13969 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
13971 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
13972 const size_t swig_method_index = 47;
13973 const char *
const swig_method_name =
"isSChannel";
13974 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
13980 PyObject *error = PyErr_Occurred();
13982 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isSChannel'");
13986 int swig_res = SWIG_AsVal_bool(result, &swig_val);
13987 if (!SWIG_IsOK(swig_res)) {
13988 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
13990 c_result = static_cast< bool >(swig_val);
13991 return (
bool) c_result;
13995 int SwigDirector_SigmaProcess::idSChannel()
const {
13997 if (!swig_get_self()) {
13998 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14000 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14001 const size_t swig_method_index = 48;
14002 const char *
const swig_method_name =
"idSChannel";
14003 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14009 PyObject *error = PyErr_Occurred();
14011 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.idSChannel'");
14015 int swig_res = SWIG_AsVal_int(result, &swig_val);
14016 if (!SWIG_IsOK(swig_res)) {
14017 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14019 c_result = static_cast< int >(swig_val);
14020 return (
int) c_result;
14024 bool SwigDirector_SigmaProcess::isQCD3body()
const {
14026 if (!swig_get_self()) {
14027 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14029 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14030 const size_t swig_method_index = 49;
14031 const char *
const swig_method_name =
"isQCD3body";
14032 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14038 PyObject *error = PyErr_Occurred();
14040 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.isQCD3body'");
14044 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14045 if (!SWIG_IsOK(swig_res)) {
14046 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14048 c_result = static_cast< bool >(swig_val);
14049 return (
bool) c_result;
14053 int SwigDirector_SigmaProcess::idTchan1()
const {
14055 if (!swig_get_self()) {
14056 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14058 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14059 const size_t swig_method_index = 50;
14060 const char *
const swig_method_name =
"idTchan1";
14061 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14067 PyObject *error = PyErr_Occurred();
14069 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.idTchan1'");
14073 int swig_res = SWIG_AsVal_int(result, &swig_val);
14074 if (!SWIG_IsOK(swig_res)) {
14075 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14077 c_result = static_cast< int >(swig_val);
14078 return (
int) c_result;
14082 int SwigDirector_SigmaProcess::idTchan2()
const {
14084 if (!swig_get_self()) {
14085 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14087 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14088 const size_t swig_method_index = 51;
14089 const char *
const swig_method_name =
"idTchan2";
14090 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14096 PyObject *error = PyErr_Occurred();
14098 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.idTchan2'");
14102 int swig_res = SWIG_AsVal_int(result, &swig_val);
14103 if (!SWIG_IsOK(swig_res)) {
14104 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14106 c_result = static_cast< int >(swig_val);
14107 return (
int) c_result;
14111 double SwigDirector_SigmaProcess::tChanFracPow1()
const {
14113 if (!swig_get_self()) {
14114 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14116 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14117 const size_t swig_method_index = 52;
14118 const char *
const swig_method_name =
"tChanFracPow1";
14119 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14125 PyObject *error = PyErr_Occurred();
14127 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.tChanFracPow1'");
14131 int swig_res = SWIG_AsVal_double(result, &swig_val);
14132 if (!SWIG_IsOK(swig_res)) {
14133 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14135 c_result = static_cast< double >(swig_val);
14136 return (
double) c_result;
14140 double SwigDirector_SigmaProcess::tChanFracPow2()
const {
14142 if (!swig_get_self()) {
14143 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14145 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14146 const size_t swig_method_index = 53;
14147 const char *
const swig_method_name =
"tChanFracPow2";
14148 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14154 PyObject *error = PyErr_Occurred();
14156 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.tChanFracPow2'");
14160 int swig_res = SWIG_AsVal_double(result, &swig_val);
14161 if (!SWIG_IsOK(swig_res)) {
14162 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14164 c_result = static_cast< double >(swig_val);
14165 return (
double) c_result;
14169 bool SwigDirector_SigmaProcess::useMirrorWeight()
const {
14171 if (!swig_get_self()) {
14172 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14174 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14175 const size_t swig_method_index = 54;
14176 const char *
const swig_method_name =
"useMirrorWeight";
14177 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14183 PyObject *error = PyErr_Occurred();
14185 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.useMirrorWeight'");
14189 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14190 if (!SWIG_IsOK(swig_res)) {
14191 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14193 c_result = static_cast< bool >(swig_val);
14194 return (
bool) c_result;
14198 int SwigDirector_SigmaProcess::gmZmode()
const {
14200 if (!swig_get_self()) {
14201 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14203 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14204 const size_t swig_method_index = 55;
14205 const char *
const swig_method_name =
"gmZmode";
14206 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14212 PyObject *error = PyErr_Occurred();
14214 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.gmZmode'");
14218 int swig_res = SWIG_AsVal_int(result, &swig_val);
14219 if (!SWIG_IsOK(swig_res)) {
14220 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14222 c_result = static_cast< int >(swig_val);
14223 return (
int) c_result;
14227 void SwigDirector_SigmaProcess::setIdInDiff(
int arg0,
int arg1) {
14229 obj0 = SWIG_From_int(static_cast< int >(arg0));
14231 obj1 = SWIG_From_int(static_cast< int >(arg1));
14232 if (!swig_get_self()) {
14233 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14235 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14236 const size_t swig_method_index = 56;
14237 const char *
const swig_method_name =
"setIdInDiff";
14238 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14239 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14241 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setIdInDiff", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14244 PyObject *error = PyErr_Occurred();
14246 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.setIdInDiff'");
14252 bool SwigDirector_SigmaProcess::setupForME() {
14254 swig_set_inner(
"setupForME",
true);
14255 if (!swig_get_self()) {
14256 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SigmaProcess.__init__.");
14258 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14259 const size_t swig_method_index = 57;
14260 const char *
const swig_method_name =
"setupForME";
14261 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14266 swig_set_inner(
"setupForME",
false);
14268 PyObject *error = PyErr_Occurred();
14270 Swig::DirectorMethodException::raise(
"Error detected when calling 'SigmaProcess.setupForME'");
14274 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14275 if (!SWIG_IsOK(swig_res)) {
14276 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14278 c_result = static_cast< bool >(swig_val);
14279 return (
bool) c_result;
14283 SwigDirector_UserHooks::SwigDirector_UserHooks(PyObject *
self): Pythia8::
UserHooks(), Swig::Director(self) {
14290 SwigDirector_UserHooks::~SwigDirector_UserHooks() {
14293 bool SwigDirector_UserHooks::initAfterBeams() {
14295 if (!swig_get_self()) {
14296 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14298 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14299 const size_t swig_method_index = 0;
14300 const char *
const swig_method_name =
"initAfterBeams";
14301 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14307 PyObject *error = PyErr_Occurred();
14309 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.initAfterBeams'");
14313 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14314 if (!SWIG_IsOK(swig_res)) {
14315 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14317 c_result = static_cast< bool >(swig_val);
14318 return (
bool) c_result;
14322 bool SwigDirector_UserHooks::canModifySigma() {
14324 if (!swig_get_self()) {
14325 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14327 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14328 const size_t swig_method_index = 1;
14329 const char *
const swig_method_name =
"canModifySigma";
14330 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14336 PyObject *error = PyErr_Occurred();
14338 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canModifySigma'");
14342 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14343 if (!SWIG_IsOK(swig_res)) {
14344 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14346 c_result = static_cast< bool >(swig_val);
14347 return (
bool) c_result;
14354 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(sigmaProcessPtr), SWIGTYPE_p_Pythia8__SigmaProcess, 0 );
14356 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(phaseSpacePtr), SWIGTYPE_p_Pythia8__PhaseSpace, 0 );
14358 obj2 = SWIG_From_bool(static_cast< bool >(inEvent));
14359 if (!swig_get_self()) {
14360 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14362 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14363 const size_t swig_method_index = 2;
14364 const char *
const swig_method_name =
"multiplySigmaBy";
14365 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14366 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
14368 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"multiplySigmaBy", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
14371 PyObject *error = PyErr_Occurred();
14373 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.multiplySigmaBy'");
14377 int swig_res = SWIG_AsVal_double(result, &swig_val);
14378 if (!SWIG_IsOK(swig_res)) {
14379 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14381 c_result = static_cast< double >(swig_val);
14382 return (
double) c_result;
14386 bool SwigDirector_UserHooks::canBiasSelection() {
14388 if (!swig_get_self()) {
14389 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14391 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14392 const size_t swig_method_index = 3;
14393 const char *
const swig_method_name =
"canBiasSelection";
14394 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14397 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canBiasSelection", NULL);
14400 PyObject *error = PyErr_Occurred();
14402 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canBiasSelection'");
14406 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14407 if (!SWIG_IsOK(swig_res)) {
14408 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14410 c_result = static_cast< bool >(swig_val);
14411 return (
bool) c_result;
14418 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(sigmaProcessPtr), SWIGTYPE_p_Pythia8__SigmaProcess, 0 );
14420 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(phaseSpacePtr), SWIGTYPE_p_Pythia8__PhaseSpace, 0 );
14422 obj2 = SWIG_From_bool(static_cast< bool >(inEvent));
14423 if (!swig_get_self()) {
14424 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14426 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14427 const size_t swig_method_index = 4;
14428 const char *
const swig_method_name =
"biasSelectionBy";
14429 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14430 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
14432 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"biasSelectionBy", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
14435 PyObject *error = PyErr_Occurred();
14437 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.biasSelectionBy'");
14441 int swig_res = SWIG_AsVal_double(result, &swig_val);
14442 if (!SWIG_IsOK(swig_res)) {
14443 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14445 c_result = static_cast< double >(swig_val);
14446 return (
double) c_result;
14450 double SwigDirector_UserHooks::biasedSelectionWeight() {
14452 if (!swig_get_self()) {
14453 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14455 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14456 const size_t swig_method_index = 5;
14457 const char *
const swig_method_name =
"biasedSelectionWeight";
14458 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14461 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"biasedSelectionWeight", NULL);
14464 PyObject *error = PyErr_Occurred();
14466 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.biasedSelectionWeight'");
14470 int swig_res = SWIG_AsVal_double(result, &swig_val);
14471 if (!SWIG_IsOK(swig_res)) {
14472 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14474 c_result = static_cast< double >(swig_val);
14475 return (
double) c_result;
14479 bool SwigDirector_UserHooks::canVetoProcessLevel() {
14481 if (!swig_get_self()) {
14482 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14484 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14485 const size_t swig_method_index = 6;
14486 const char *
const swig_method_name =
"canVetoProcessLevel";
14487 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14490 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoProcessLevel", NULL);
14493 PyObject *error = PyErr_Occurred();
14495 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoProcessLevel'");
14499 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14500 if (!SWIG_IsOK(swig_res)) {
14501 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14503 c_result = static_cast< bool >(swig_val);
14504 return (
bool) c_result;
14508 bool SwigDirector_UserHooks::doVetoProcessLevel(
Pythia8::Event &arg0) {
14511 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
14512 if (!swig_get_self()) {
14513 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14515 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14516 const size_t swig_method_index = 7;
14517 const char *
const swig_method_name =
"doVetoProcessLevel";
14518 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14521 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoProcessLevel", (
char *)
"(O)" ,(PyObject *)obj0);
14524 PyObject *error = PyErr_Occurred();
14526 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoProcessLevel'");
14530 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14531 if (!SWIG_IsOK(swig_res)) {
14532 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14534 c_result = static_cast< bool >(swig_val);
14535 return (
bool) c_result;
14539 bool SwigDirector_UserHooks::canVetoResonanceDecays() {
14541 if (!swig_get_self()) {
14542 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14544 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14545 const size_t swig_method_index = 8;
14546 const char *
const swig_method_name =
"canVetoResonanceDecays";
14547 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14550 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoResonanceDecays", NULL);
14553 PyObject *error = PyErr_Occurred();
14555 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoResonanceDecays'");
14559 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14560 if (!SWIG_IsOK(swig_res)) {
14561 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14563 c_result = static_cast< bool >(swig_val);
14564 return (
bool) c_result;
14568 bool SwigDirector_UserHooks::doVetoResonanceDecays(
Pythia8::Event &arg0) {
14571 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
14572 if (!swig_get_self()) {
14573 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14575 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14576 const size_t swig_method_index = 9;
14577 const char *
const swig_method_name =
"doVetoResonanceDecays";
14578 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14581 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoResonanceDecays", (
char *)
"(O)" ,(PyObject *)obj0);
14584 PyObject *error = PyErr_Occurred();
14586 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoResonanceDecays'");
14590 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14591 if (!SWIG_IsOK(swig_res)) {
14592 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14594 c_result = static_cast< bool >(swig_val);
14595 return (
bool) c_result;
14599 bool SwigDirector_UserHooks::canVetoPT() {
14601 if (!swig_get_self()) {
14602 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14604 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14605 const size_t swig_method_index = 10;
14606 const char *
const swig_method_name =
"canVetoPT";
14607 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14613 PyObject *error = PyErr_Occurred();
14615 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoPT'");
14619 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14620 if (!SWIG_IsOK(swig_res)) {
14621 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14623 c_result = static_cast< bool >(swig_val);
14624 return (
bool) c_result;
14628 double SwigDirector_UserHooks::scaleVetoPT() {
14630 if (!swig_get_self()) {
14631 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14633 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14634 const size_t swig_method_index = 11;
14635 const char *
const swig_method_name =
"scaleVetoPT";
14636 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14642 PyObject *error = PyErr_Occurred();
14644 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.scaleVetoPT'");
14648 int swig_res = SWIG_AsVal_double(result, &swig_val);
14649 if (!SWIG_IsOK(swig_res)) {
14650 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
14652 c_result = static_cast< double >(swig_val);
14653 return (
double) c_result;
14657 bool SwigDirector_UserHooks::doVetoPT(
int arg0,
Pythia8::Event const &arg1) {
14660 obj0 = SWIG_From_int(static_cast< int >(arg0));
14662 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
14663 if (!swig_get_self()) {
14664 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14666 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14667 const size_t swig_method_index = 12;
14668 const char *
const swig_method_name =
"doVetoPT";
14669 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14670 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14672 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoPT", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14675 PyObject *error = PyErr_Occurred();
14677 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoPT'");
14681 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14682 if (!SWIG_IsOK(swig_res)) {
14683 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14685 c_result = static_cast< bool >(swig_val);
14686 return (
bool) c_result;
14690 bool SwigDirector_UserHooks::canVetoStep() {
14692 if (!swig_get_self()) {
14693 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14695 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14696 const size_t swig_method_index = 13;
14697 const char *
const swig_method_name =
"canVetoStep";
14698 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14704 PyObject *error = PyErr_Occurred();
14706 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoStep'");
14710 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14711 if (!SWIG_IsOK(swig_res)) {
14712 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14714 c_result = static_cast< bool >(swig_val);
14715 return (
bool) c_result;
14719 int SwigDirector_UserHooks::numberVetoStep() {
14721 if (!swig_get_self()) {
14722 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14724 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14725 const size_t swig_method_index = 14;
14726 const char *
const swig_method_name =
"numberVetoStep";
14727 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14733 PyObject *error = PyErr_Occurred();
14735 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.numberVetoStep'");
14739 int swig_res = SWIG_AsVal_int(result, &swig_val);
14740 if (!SWIG_IsOK(swig_res)) {
14741 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14743 c_result = static_cast< int >(swig_val);
14744 return (
int) c_result;
14748 bool SwigDirector_UserHooks::doVetoStep(
int arg0,
int arg1,
int arg2,
Pythia8::Event const &arg3) {
14751 obj0 = SWIG_From_int(static_cast< int >(arg0));
14753 obj1 = SWIG_From_int(static_cast< int >(arg1));
14755 obj2 = SWIG_From_int(static_cast< int >(arg2));
14757 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg3), SWIGTYPE_p_Pythia8__Event, 0 );
14758 if (!swig_get_self()) {
14759 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14761 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14762 const size_t swig_method_index = 15;
14763 const char *
const swig_method_name =
"doVetoStep";
14764 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14765 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
14767 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoStep", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
14770 PyObject *error = PyErr_Occurred();
14772 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoStep'");
14776 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14777 if (!SWIG_IsOK(swig_res)) {
14778 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14780 c_result = static_cast< bool >(swig_val);
14781 return (
bool) c_result;
14785 bool SwigDirector_UserHooks::canVetoMPIStep() {
14787 if (!swig_get_self()) {
14788 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14790 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14791 const size_t swig_method_index = 16;
14792 const char *
const swig_method_name =
"canVetoMPIStep";
14793 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14799 PyObject *error = PyErr_Occurred();
14801 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoMPIStep'");
14805 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14806 if (!SWIG_IsOK(swig_res)) {
14807 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14809 c_result = static_cast< bool >(swig_val);
14810 return (
bool) c_result;
14814 int SwigDirector_UserHooks::numberVetoMPIStep() {
14816 if (!swig_get_self()) {
14817 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14819 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14820 const size_t swig_method_index = 17;
14821 const char *
const swig_method_name =
"numberVetoMPIStep";
14822 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14825 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"numberVetoMPIStep", NULL);
14828 PyObject *error = PyErr_Occurred();
14830 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.numberVetoMPIStep'");
14834 int swig_res = SWIG_AsVal_int(result, &swig_val);
14835 if (!SWIG_IsOK(swig_res)) {
14836 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
14838 c_result = static_cast< int >(swig_val);
14839 return (
int) c_result;
14843 bool SwigDirector_UserHooks::doVetoMPIStep(
int arg0,
Pythia8::Event const &arg1) {
14846 obj0 = SWIG_From_int(static_cast< int >(arg0));
14848 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
14849 if (!swig_get_self()) {
14850 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14852 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14853 const size_t swig_method_index = 18;
14854 const char *
const swig_method_name =
"doVetoMPIStep";
14855 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14856 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14858 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoMPIStep", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
14861 PyObject *error = PyErr_Occurred();
14863 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoMPIStep'");
14867 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14868 if (!SWIG_IsOK(swig_res)) {
14869 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14871 c_result = static_cast< bool >(swig_val);
14872 return (
bool) c_result;
14876 bool SwigDirector_UserHooks::canVetoPartonLevelEarly() {
14878 if (!swig_get_self()) {
14879 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14881 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14882 const size_t swig_method_index = 19;
14883 const char *
const swig_method_name =
"canVetoPartonLevelEarly";
14884 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14887 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoPartonLevelEarly", NULL);
14890 PyObject *error = PyErr_Occurred();
14892 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoPartonLevelEarly'");
14896 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14897 if (!SWIG_IsOK(swig_res)) {
14898 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14900 c_result = static_cast< bool >(swig_val);
14901 return (
bool) c_result;
14905 bool SwigDirector_UserHooks::doVetoPartonLevelEarly(
Pythia8::Event const &arg0) {
14908 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
14909 if (!swig_get_self()) {
14910 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14912 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14913 const size_t swig_method_index = 20;
14914 const char *
const swig_method_name =
"doVetoPartonLevelEarly";
14915 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14918 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoPartonLevelEarly", (
char *)
"(O)" ,(PyObject *)obj0);
14921 PyObject *error = PyErr_Occurred();
14923 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoPartonLevelEarly'");
14927 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14928 if (!SWIG_IsOK(swig_res)) {
14929 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14931 c_result = static_cast< bool >(swig_val);
14932 return (
bool) c_result;
14936 bool SwigDirector_UserHooks::retryPartonLevel() {
14938 if (!swig_get_self()) {
14939 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14941 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14942 const size_t swig_method_index = 21;
14943 const char *
const swig_method_name =
"retryPartonLevel";
14944 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14947 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"retryPartonLevel", NULL);
14950 PyObject *error = PyErr_Occurred();
14952 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.retryPartonLevel'");
14956 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14957 if (!SWIG_IsOK(swig_res)) {
14958 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14960 c_result = static_cast< bool >(swig_val);
14961 return (
bool) c_result;
14965 bool SwigDirector_UserHooks::canVetoPartonLevel() {
14967 if (!swig_get_self()) {
14968 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
14970 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
14971 const size_t swig_method_index = 22;
14972 const char *
const swig_method_name =
"canVetoPartonLevel";
14973 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
14976 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoPartonLevel", NULL);
14979 PyObject *error = PyErr_Occurred();
14981 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoPartonLevel'");
14985 int swig_res = SWIG_AsVal_bool(result, &swig_val);
14986 if (!SWIG_IsOK(swig_res)) {
14987 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
14989 c_result = static_cast< bool >(swig_val);
14990 return (
bool) c_result;
14994 bool SwigDirector_UserHooks::doVetoPartonLevel(
Pythia8::Event const &arg0) {
14997 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
14998 if (!swig_get_self()) {
14999 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15001 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15002 const size_t swig_method_index = 23;
15003 const char *
const swig_method_name =
"doVetoPartonLevel";
15004 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15007 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoPartonLevel", (
char *)
"(O)" ,(PyObject *)obj0);
15010 PyObject *error = PyErr_Occurred();
15012 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoPartonLevel'");
15016 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15017 if (!SWIG_IsOK(swig_res)) {
15018 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15020 c_result = static_cast< bool >(swig_val);
15021 return (
bool) c_result;
15025 bool SwigDirector_UserHooks::canSetResonanceScale() {
15027 if (!swig_get_self()) {
15028 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15030 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15031 const size_t swig_method_index = 24;
15032 const char *
const swig_method_name =
"canSetResonanceScale";
15033 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15036 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canSetResonanceScale", NULL);
15039 PyObject *error = PyErr_Occurred();
15041 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canSetResonanceScale'");
15045 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15046 if (!SWIG_IsOK(swig_res)) {
15047 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15049 c_result = static_cast< bool >(swig_val);
15050 return (
bool) c_result;
15054 double SwigDirector_UserHooks::scaleResonance(
int arg0,
Pythia8::Event const &arg1) {
15057 obj0 = SWIG_From_int(static_cast< int >(arg0));
15059 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
15060 if (!swig_get_self()) {
15061 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15063 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15064 const size_t swig_method_index = 25;
15065 const char *
const swig_method_name =
"scaleResonance";
15066 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15067 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15069 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"scaleResonance", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15072 PyObject *error = PyErr_Occurred();
15074 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.scaleResonance'");
15078 int swig_res = SWIG_AsVal_double(result, &swig_val);
15079 if (!SWIG_IsOK(swig_res)) {
15080 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15082 c_result = static_cast< double >(swig_val);
15083 return (
double) c_result;
15087 bool SwigDirector_UserHooks::canVetoISREmission() {
15089 if (!swig_get_self()) {
15090 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15092 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15093 const size_t swig_method_index = 26;
15094 const char *
const swig_method_name =
"canVetoISREmission";
15095 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15098 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoISREmission", NULL);
15101 PyObject *error = PyErr_Occurred();
15103 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoISREmission'");
15107 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15108 if (!SWIG_IsOK(swig_res)) {
15109 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15111 c_result = static_cast< bool >(swig_val);
15112 return (
bool) c_result;
15116 bool SwigDirector_UserHooks::doVetoISREmission(
int arg0,
Pythia8::Event const &arg1,
int arg2) {
15119 obj0 = SWIG_From_int(static_cast< int >(arg0));
15121 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
15123 obj2 = SWIG_From_int(static_cast< int >(arg2));
15124 if (!swig_get_self()) {
15125 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15127 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15128 const size_t swig_method_index = 27;
15129 const char *
const swig_method_name =
"doVetoISREmission";
15130 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15131 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
15133 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoISREmission", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
15136 PyObject *error = PyErr_Occurred();
15138 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoISREmission'");
15142 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15143 if (!SWIG_IsOK(swig_res)) {
15144 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15146 c_result = static_cast< bool >(swig_val);
15147 return (
bool) c_result;
15151 bool SwigDirector_UserHooks::canVetoFSREmission() {
15153 if (!swig_get_self()) {
15154 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15156 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15157 const size_t swig_method_index = 28;
15158 const char *
const swig_method_name =
"canVetoFSREmission";
15159 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15162 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoFSREmission", NULL);
15165 PyObject *error = PyErr_Occurred();
15167 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoFSREmission'");
15171 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15172 if (!SWIG_IsOK(swig_res)) {
15173 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15175 c_result = static_cast< bool >(swig_val);
15176 return (
bool) c_result;
15180 bool SwigDirector_UserHooks::doVetoFSREmission(
int arg0,
Pythia8::Event const &arg1,
int arg2,
bool arg3) {
15183 obj0 = SWIG_From_int(static_cast< int >(arg0));
15185 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
15187 obj2 = SWIG_From_int(static_cast< int >(arg2));
15189 obj3 = SWIG_From_bool(static_cast< bool >(arg3));
15190 if (!swig_get_self()) {
15191 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15193 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15194 const size_t swig_method_index = 29;
15195 const char *
const swig_method_name =
"doVetoFSREmission";
15196 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15197 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
15199 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoFSREmission", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
15202 PyObject *error = PyErr_Occurred();
15204 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoFSREmission'");
15208 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15209 if (!SWIG_IsOK(swig_res)) {
15210 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15212 c_result = static_cast< bool >(swig_val);
15213 return (
bool) c_result;
15217 bool SwigDirector_UserHooks::canVetoMPIEmission() {
15219 if (!swig_get_self()) {
15220 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15222 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15223 const size_t swig_method_index = 31;
15224 const char *
const swig_method_name =
"canVetoMPIEmission";
15225 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15228 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canVetoMPIEmission", NULL);
15231 PyObject *error = PyErr_Occurred();
15233 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canVetoMPIEmission'");
15237 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15238 if (!SWIG_IsOK(swig_res)) {
15239 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15241 c_result = static_cast< bool >(swig_val);
15242 return (
bool) c_result;
15246 bool SwigDirector_UserHooks::doVetoMPIEmission(
int arg0,
Pythia8::Event const &arg1) {
15249 obj0 = SWIG_From_int(static_cast< int >(arg0));
15251 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
15252 if (!swig_get_self()) {
15253 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15255 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15256 const size_t swig_method_index = 32;
15257 const char *
const swig_method_name =
"doVetoMPIEmission";
15258 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15259 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15261 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoMPIEmission", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15264 PyObject *error = PyErr_Occurred();
15266 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoMPIEmission'");
15270 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15271 if (!SWIG_IsOK(swig_res)) {
15272 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15274 c_result = static_cast< bool >(swig_val);
15275 return (
bool) c_result;
15279 bool SwigDirector_UserHooks::canReconnectResonanceSystems() {
15281 if (!swig_get_self()) {
15282 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15284 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15285 const size_t swig_method_index = 33;
15286 const char *
const swig_method_name =
"canReconnectResonanceSystems";
15287 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15290 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canReconnectResonanceSystems", NULL);
15293 PyObject *error = PyErr_Occurred();
15295 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canReconnectResonanceSystems'");
15299 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15300 if (!SWIG_IsOK(swig_res)) {
15301 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15303 c_result = static_cast< bool >(swig_val);
15304 return (
bool) c_result;
15308 bool SwigDirector_UserHooks::doReconnectResonanceSystems(
int arg0,
Pythia8::Event &arg1) {
15311 obj0 = SWIG_From_int(static_cast< int >(arg0));
15313 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
15314 if (!swig_get_self()) {
15315 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15317 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15318 const size_t swig_method_index = 34;
15319 const char *
const swig_method_name =
"doReconnectResonanceSystems";
15320 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15321 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15323 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doReconnectResonanceSystems", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15326 PyObject *error = PyErr_Occurred();
15328 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doReconnectResonanceSystems'");
15332 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15333 if (!SWIG_IsOK(swig_res)) {
15334 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15336 c_result = static_cast< bool >(swig_val);
15337 return (
bool) c_result;
15341 bool SwigDirector_UserHooks::canEnhanceEmission() {
15343 if (!swig_get_self()) {
15344 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15346 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15347 const size_t swig_method_index = 35;
15348 const char *
const swig_method_name =
"canEnhanceEmission";
15349 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15352 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canEnhanceEmission", NULL);
15355 PyObject *error = PyErr_Occurred();
15357 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canEnhanceEmission'");
15361 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15362 if (!SWIG_IsOK(swig_res)) {
15363 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15365 c_result = static_cast< bool >(swig_val);
15366 return (
bool) c_result;
15370 double SwigDirector_UserHooks::enhanceFactor(std::string arg0) {
15373 obj0 = SWIG_From_std_string(static_cast< std::string >(arg0));
15374 if (!swig_get_self()) {
15375 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15377 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15378 const size_t swig_method_index = 36;
15379 const char *
const swig_method_name =
"enhanceFactor";
15380 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15383 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"enhanceFactor", (
char *)
"(O)" ,(PyObject *)obj0);
15386 PyObject *error = PyErr_Occurred();
15388 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.enhanceFactor'");
15392 int swig_res = SWIG_AsVal_double(result, &swig_val);
15393 if (!SWIG_IsOK(swig_res)) {
15394 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15396 c_result = static_cast< double >(swig_val);
15397 return (
double) c_result;
15401 double SwigDirector_UserHooks::vetoProbability(std::string arg0) {
15404 obj0 = SWIG_From_std_string(static_cast< std::string >(arg0));
15405 if (!swig_get_self()) {
15406 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15408 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15409 const size_t swig_method_index = 37;
15410 const char *
const swig_method_name =
"vetoProbability";
15411 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15414 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"vetoProbability", (
char *)
"(O)" ,(PyObject *)obj0);
15417 PyObject *error = PyErr_Occurred();
15419 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.vetoProbability'");
15423 int swig_res = SWIG_AsVal_double(result, &swig_val);
15424 if (!SWIG_IsOK(swig_res)) {
15425 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15427 c_result = static_cast< double >(swig_val);
15428 return (
double) c_result;
15432 bool SwigDirector_UserHooks::canEnhanceTrial() {
15434 if (!swig_get_self()) {
15435 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15437 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15438 const size_t swig_method_index = 38;
15439 const char *
const swig_method_name =
"canEnhanceTrial";
15440 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15446 PyObject *error = PyErr_Occurred();
15448 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canEnhanceTrial'");
15452 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15453 if (!SWIG_IsOK(swig_res)) {
15454 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15456 c_result = static_cast< bool >(swig_val);
15457 return (
bool) c_result;
15461 bool SwigDirector_UserHooks::canChangeFragPar() {
15463 if (!swig_get_self()) {
15464 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15466 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15467 const size_t swig_method_index = 39;
15468 const char *
const swig_method_name =
"canChangeFragPar";
15469 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15472 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canChangeFragPar", NULL);
15475 PyObject *error = PyErr_Occurred();
15477 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canChangeFragPar'");
15481 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15482 if (!SWIG_IsOK(swig_res)) {
15483 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15485 c_result = static_cast< bool >(swig_val);
15486 return (
bool) c_result;
15492 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(arg0), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15494 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(arg1), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15496 obj2 = swig::from(
static_cast< std::vector< int,std::allocator< int >
> >(arg2));
15497 if (!swig_get_self()) {
15498 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15500 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15501 const size_t swig_method_index = 40;
15502 const char *
const swig_method_name =
"setStringEnds";
15503 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15504 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
15506 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setStringEnds", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
15509 PyObject *error = PyErr_Occurred();
15511 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.setStringEnds'");
15520 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(arg0), SWIGTYPE_p_Pythia8__StringFlav, 0 );
15522 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(arg1), SWIGTYPE_p_Pythia8__StringZ, 0 );
15524 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(arg2), SWIGTYPE_p_Pythia8__StringPT, 0 );
15526 obj3 = SWIG_From_int(static_cast< int >(arg3));
15528 obj4 = SWIG_From_double(static_cast< double >(arg4));
15530 obj5 = swig::from(
static_cast< std::vector< int,std::allocator< int >
> >(arg5));
15532 obj6 = SWIG_NewPointerObj(SWIG_as_voidptr(arg6), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15533 if (!swig_get_self()) {
15534 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15536 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15537 const size_t swig_method_index = 41;
15538 const char *
const swig_method_name =
"doChangeFragPar";
15539 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15540 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6);
15542 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doChangeFragPar", (
char *)
"(OOOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5,(PyObject *)obj6);
15545 PyObject *error = PyErr_Occurred();
15547 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doChangeFragPar'");
15551 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15552 if (!SWIG_IsOK(swig_res)) {
15553 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15555 c_result = static_cast< bool >(swig_val);
15556 return (
bool) c_result;
15563 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Particle, 0 );
15565 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(arg1), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15566 if (!swig_get_self()) {
15567 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15569 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15570 const size_t swig_method_index = 42;
15571 const char *
const swig_method_name =
"doVetoFragmentation";
15572 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15573 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15575 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoFragmentation", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15578 PyObject *error = PyErr_Occurred();
15580 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoFragmentation'");
15584 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15585 if (!SWIG_IsOK(swig_res)) {
15586 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15588 c_result = static_cast< bool >(swig_val);
15589 return (
bool) c_result;
15596 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Particle, 0 );
15598 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Particle, 0 );
15600 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(arg2), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15602 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(arg3), SWIGTYPE_p_Pythia8__StringEnd, 0 );
15603 if (!swig_get_self()) {
15604 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15606 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15607 const size_t swig_method_index = 43;
15608 const char *
const swig_method_name =
"doVetoFragmentation";
15609 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15610 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
15612 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doVetoFragmentation", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
15615 PyObject *error = PyErr_Occurred();
15617 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doVetoFragmentation'");
15621 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15622 if (!SWIG_IsOK(swig_res)) {
15623 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15625 c_result = static_cast< bool >(swig_val);
15626 return (
bool) c_result;
15630 bool SwigDirector_UserHooks::canSetImpactParameter()
const {
15632 if (!swig_get_self()) {
15633 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15635 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15636 const size_t swig_method_index = 44;
15637 const char *
const swig_method_name =
"canSetImpactParameter";
15638 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15641 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"canSetImpactParameter", NULL);
15644 PyObject *error = PyErr_Occurred();
15646 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.canSetImpactParameter'");
15650 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15651 if (!SWIG_IsOK(swig_res)) {
15652 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15654 c_result = static_cast< bool >(swig_val);
15655 return (
bool) c_result;
15659 double SwigDirector_UserHooks::doSetImpactParameter() {
15661 if (!swig_get_self()) {
15662 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call UserHooks.__init__.");
15664 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15665 const size_t swig_method_index = 45;
15666 const char *
const swig_method_name =
"doSetImpactParameter";
15667 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15670 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"doSetImpactParameter", NULL);
15673 PyObject *error = PyErr_Occurred();
15675 Swig::DirectorMethodException::raise(
"Error detected when calling 'UserHooks.doSetImpactParameter'");
15679 int swig_res = SWIG_AsVal_double(result, &swig_val);
15680 if (!SWIG_IsOK(swig_res)) {
15681 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15683 c_result = static_cast< double >(swig_val);
15684 return (
double) c_result;
15688 SwigDirector_PhaseSpace::SwigDirector_PhaseSpace(PyObject *
self): Pythia8::
PhaseSpace(), Swig::Director(self) {
15695 SwigDirector_PhaseSpace::~SwigDirector_PhaseSpace() {
15698 bool SwigDirector_PhaseSpace::setupSampling() {
15700 if (!swig_get_self()) {
15701 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15703 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15704 const size_t swig_method_index = 0;
15705 const char *
const swig_method_name =
"setupSampling";
15706 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15712 PyObject *error = PyErr_Occurred();
15714 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.setupSampling'");
15718 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15719 if (!SWIG_IsOK(swig_res)) {
15720 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15722 c_result = static_cast< bool >(swig_val);
15723 return (
bool) c_result;
15727 bool SwigDirector_PhaseSpace::trialKin(
bool inEvent,
bool repeatSame) {
15730 obj0 = SWIG_From_bool(static_cast< bool >(inEvent));
15732 obj1 = SWIG_From_bool(static_cast< bool >(repeatSame));
15733 if (!swig_get_self()) {
15734 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15736 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15737 const size_t swig_method_index = 1;
15738 const char *
const swig_method_name =
"trialKin";
15739 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15740 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15742 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"trialKin", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15745 PyObject *error = PyErr_Occurred();
15747 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.trialKin'");
15751 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15752 if (!SWIG_IsOK(swig_res)) {
15753 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15755 c_result = static_cast< bool >(swig_val);
15756 return (
bool) c_result;
15760 bool SwigDirector_PhaseSpace::finalKin() {
15762 if (!swig_get_self()) {
15763 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15765 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15766 const size_t swig_method_index = 4;
15767 const char *
const swig_method_name =
"finalKin";
15768 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15774 PyObject *error = PyErr_Occurred();
15776 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.finalKin'");
15780 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15781 if (!SWIG_IsOK(swig_res)) {
15782 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15784 c_result = static_cast< bool >(swig_val);
15785 return (
bool) c_result;
15789 double SwigDirector_PhaseSpace::sigmaSumSigned()
const {
15791 if (!swig_get_self()) {
15792 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15794 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15795 const size_t swig_method_index = 5;
15796 const char *
const swig_method_name =
"sigmaSumSigned";
15797 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15803 PyObject *error = PyErr_Occurred();
15805 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.sigmaSumSigned'");
15809 int swig_res = SWIG_AsVal_double(result, &swig_val);
15810 if (!SWIG_IsOK(swig_res)) {
15811 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15813 c_result = static_cast< double >(swig_val);
15814 return (
double) c_result;
15818 bool SwigDirector_PhaseSpace::isResolved()
const {
15820 if (!swig_get_self()) {
15821 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15823 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15824 const size_t swig_method_index = 6;
15825 const char *
const swig_method_name =
"isResolved";
15826 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15832 PyObject *error = PyErr_Occurred();
15834 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.isResolved'");
15838 int swig_res = SWIG_AsVal_bool(result, &swig_val);
15839 if (!SWIG_IsOK(swig_res)) {
15840 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
15842 c_result = static_cast< bool >(swig_val);
15843 return (
bool) c_result;
15847 void SwigDirector_PhaseSpace::rescaleSigma(
double arg0) {
15849 obj0 = SWIG_From_double(static_cast< double >(arg0));
15850 if (!swig_get_self()) {
15851 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15853 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15854 const size_t swig_method_index = 7;
15855 const char *
const swig_method_name =
"rescaleSigma";
15856 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15859 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"rescaleSigma", (
char *)
"(O)" ,(PyObject *)obj0);
15862 PyObject *error = PyErr_Occurred();
15864 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.rescaleSigma'");
15870 void SwigDirector_PhaseSpace::rescaleMomenta(
double arg0) {
15872 obj0 = SWIG_From_double(static_cast< double >(arg0));
15873 if (!swig_get_self()) {
15874 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15876 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15877 const size_t swig_method_index = 8;
15878 const char *
const swig_method_name =
"rescaleMomenta";
15879 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15882 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"rescaleMomenta", (
char *)
"(O)" ,(PyObject *)obj0);
15885 PyObject *error = PyErr_Occurred();
15887 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.rescaleMomenta'");
15893 double SwigDirector_PhaseSpace::weightGammaPDFApprox() {
15895 if (!swig_get_self()) {
15896 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15898 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15899 const size_t swig_method_index = 9;
15900 const char *
const swig_method_name =
"weightGammaPDFApprox";
15901 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15904 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"weightGammaPDFApprox", NULL);
15907 PyObject *error = PyErr_Occurred();
15909 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.weightGammaPDFApprox'");
15913 int swig_res = SWIG_AsVal_double(result, &swig_val);
15914 if (!SWIG_IsOK(swig_res)) {
15915 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
15917 c_result = static_cast< double >(swig_val);
15918 return (
double) c_result;
15924 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(gammaKinPtrIn), SWIGTYPE_p_Pythia8__GammaKinematics, 0 );
15925 if (!swig_get_self()) {
15926 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call PhaseSpace.__init__.");
15928 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15929 const size_t swig_method_index = 10;
15930 const char *
const swig_method_name =
"setGammaKinPtr";
15931 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15934 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"setGammaKinPtr", (
char *)
"(O)" ,(PyObject *)obj0);
15937 PyObject *error = PyErr_Occurred();
15939 Swig::DirectorMethodException::raise(
"Error detected when calling 'PhaseSpace.setGammaKinPtr'");
15945 SwigDirector_SpaceShower::SwigDirector_SpaceShower(PyObject *
self): Pythia8::
SpaceShower(), Swig::Director(self) {
15952 SwigDirector_SpaceShower::~SwigDirector_SpaceShower() {
15957 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(arg0), SWIGTYPE_p_Pythia8__BeamParticle, 0 );
15959 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(arg1), SWIGTYPE_p_Pythia8__BeamParticle, 0 );
15960 if (!swig_get_self()) {
15961 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
15963 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15964 const size_t swig_method_index = 0;
15965 const char *
const swig_method_name =
"init";
15966 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15967 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15969 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"init", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
15972 PyObject *error = PyErr_Occurred();
15974 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.init'");
15980 bool SwigDirector_SpaceShower::limitPTmax(
Pythia8::Event &arg0,
double arg1,
double arg2) {
15983 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
15985 obj1 = SWIG_From_double(static_cast< double >(arg1));
15987 obj2 = SWIG_From_double(static_cast< double >(arg2));
15988 if (!swig_get_self()) {
15989 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
15991 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
15992 const size_t swig_method_index = 1;
15993 const char *
const swig_method_name =
"limitPTmax";
15994 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
15995 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
15997 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"limitPTmax", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16000 PyObject *error = PyErr_Occurred();
16002 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.limitPTmax'");
16006 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16007 if (!SWIG_IsOK(swig_res)) {
16008 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16010 c_result = static_cast< bool >(swig_val);
16011 return (
bool) c_result;
16015 void SwigDirector_SpaceShower::prepare(
int arg0,
Pythia8::Event &arg1,
bool arg2) {
16017 obj0 = SWIG_From_int(static_cast< int >(arg0));
16019 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
16021 obj2 = SWIG_From_bool(static_cast< bool >(arg2));
16022 if (!swig_get_self()) {
16023 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16025 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16026 const size_t swig_method_index = 4;
16027 const char *
const swig_method_name =
"prepare";
16028 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16029 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16031 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"prepare", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16034 PyObject *error = PyErr_Occurred();
16036 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.prepare'");
16042 void SwigDirector_SpaceShower::update(
int arg0,
Pythia8::Event &arg1,
bool arg2) {
16044 obj0 = SWIG_From_int(static_cast< int >(arg0));
16046 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
16048 obj2 = SWIG_From_bool(static_cast< bool >(arg2));
16049 if (!swig_get_self()) {
16050 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16052 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16053 const size_t swig_method_index = 6;
16054 const char *
const swig_method_name =
"update";
16055 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16056 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16058 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"update", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16061 PyObject *error = PyErr_Occurred();
16063 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.update'");
16069 double SwigDirector_SpaceShower::pTnext(
Pythia8::Event &arg0,
double arg1,
double arg2,
int arg3,
bool arg4) {
16072 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16074 obj1 = SWIG_From_double(static_cast< double >(arg1));
16076 obj2 = SWIG_From_double(static_cast< double >(arg2));
16078 obj3 = SWIG_From_int(static_cast< int >(arg3));
16080 obj4 = SWIG_From_bool(static_cast< bool >(arg4));
16081 if (!swig_get_self()) {
16082 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16084 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16085 const size_t swig_method_index = 8;
16086 const char *
const swig_method_name =
"pTnext";
16087 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16088 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16090 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"pTnext", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16093 PyObject *error = PyErr_Occurred();
16095 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.pTnext'");
16099 int swig_res = SWIG_AsVal_double(result, &swig_val);
16100 if (!SWIG_IsOK(swig_res)) {
16101 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
16103 c_result = static_cast< double >(swig_val);
16104 return (
double) c_result;
16111 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16112 if (!swig_get_self()) {
16113 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16115 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16116 const size_t swig_method_index = 11;
16117 const char *
const swig_method_name =
"branch";
16118 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16121 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"branch", (
char *)
"(O)" ,(PyObject *)obj0);
16124 PyObject *error = PyErr_Occurred();
16126 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.branch'");
16130 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16131 if (!SWIG_IsOK(swig_res)) {
16132 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16134 c_result = static_cast< bool >(swig_val);
16135 return (
bool) c_result;
16139 bool SwigDirector_SpaceShower::initUncertainties() {
16141 if (!swig_get_self()) {
16142 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16144 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16145 const size_t swig_method_index = 12;
16146 const char *
const swig_method_name =
"initUncertainties";
16147 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16150 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"initUncertainties", NULL);
16153 PyObject *error = PyErr_Occurred();
16155 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.initUncertainties'");
16159 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16160 if (!SWIG_IsOK(swig_res)) {
16161 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16163 c_result = static_cast< bool >(swig_val);
16164 return (
bool) c_result;
16168 bool SwigDirector_SpaceShower::doRestart()
const {
16170 if (!swig_get_self()) {
16171 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16173 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16174 const size_t swig_method_index = 13;
16175 const char *
const swig_method_name =
"doRestart";
16176 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16182 PyObject *error = PyErr_Occurred();
16184 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.doRestart'");
16188 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16189 if (!SWIG_IsOK(swig_res)) {
16190 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16192 c_result = static_cast< bool >(swig_val);
16193 return (
bool) c_result;
16197 bool SwigDirector_SpaceShower::wasGamma2qqbar() {
16199 if (!swig_get_self()) {
16200 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16202 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16203 const size_t swig_method_index = 14;
16204 const char *
const swig_method_name =
"wasGamma2qqbar";
16205 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16211 PyObject *error = PyErr_Occurred();
16213 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.wasGamma2qqbar'");
16217 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16218 if (!SWIG_IsOK(swig_res)) {
16219 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16221 c_result = static_cast< bool >(swig_val);
16222 return (
bool) c_result;
16226 bool SwigDirector_SpaceShower::getHasWeaklyRadiated() {
16228 if (!swig_get_self()) {
16229 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16231 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16232 const size_t swig_method_index = 15;
16233 const char *
const swig_method_name =
"getHasWeaklyRadiated";
16234 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16237 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getHasWeaklyRadiated", NULL);
16240 PyObject *error = PyErr_Occurred();
16242 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.getHasWeaklyRadiated'");
16246 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16247 if (!SWIG_IsOK(swig_res)) {
16248 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16250 c_result = static_cast< bool >(swig_val);
16251 return (
bool) c_result;
16255 int SwigDirector_SpaceShower::system()
const {
16257 if (!swig_get_self()) {
16258 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16260 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16261 const size_t swig_method_index = 16;
16262 const char *
const swig_method_name =
"system";
16263 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16269 PyObject *error = PyErr_Occurred();
16271 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.system'");
16275 int swig_res = SWIG_AsVal_int(result, &swig_val);
16276 if (!SWIG_IsOK(swig_res)) {
16277 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
16279 c_result = static_cast< int >(swig_val);
16280 return (
int) c_result;
16284 double SwigDirector_SpaceShower::enhancePTmax()
const {
16286 if (!swig_get_self()) {
16287 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16289 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16290 const size_t swig_method_index = 17;
16291 const char *
const swig_method_name =
"enhancePTmax";
16292 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16298 PyObject *error = PyErr_Occurred();
16300 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.enhancePTmax'");
16304 int swig_res = SWIG_AsVal_double(result, &swig_val);
16305 if (!SWIG_IsOK(swig_res)) {
16306 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
16308 c_result = static_cast< double >(swig_val);
16309 return (
double) c_result;
16319 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16321 obj1 = SWIG_From_int(static_cast< int >(arg1));
16323 obj2 = SWIG_From_int(static_cast< int >(arg2));
16325 obj3 = SWIG_From_int(static_cast< int >(arg3));
16327 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
16328 if (!swig_get_self()) {
16329 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16331 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16332 const size_t swig_method_index = 18;
16333 const char *
const swig_method_name =
"clustered";
16334 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16335 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16337 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"clustered", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16340 PyObject *error = PyErr_Occurred();
16342 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.clustered'");
16345 swig_res = SWIG_ConvertPtr(result,&swig_argp,SWIGTYPE_p_Pythia8__Event, 0 | 0);
16346 if (!SWIG_IsOK(swig_res)) {
16347 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""Pythia8::Event""'");
16349 c_result = *(reinterpret_cast< Pythia8::Event * >(swig_argp));
16350 if (SWIG_IsNewObj(swig_res))
delete reinterpret_cast< Pythia8::Event * >(swig_argp);
16355 std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > SwigDirector_SpaceShower::getStateVariables(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
16359 std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > c_result;
16361 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16363 obj1 = SWIG_From_int(static_cast< int >(arg1));
16365 obj2 = SWIG_From_int(static_cast< int >(arg2));
16367 obj3 = SWIG_From_int(static_cast< int >(arg3));
16369 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
16370 if (!swig_get_self()) {
16371 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16373 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16374 const size_t swig_method_index = 19;
16375 const char *
const swig_method_name =
"getStateVariables";
16376 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16377 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16379 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getStateVariables", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16382 PyObject *error = PyErr_Occurred();
16384 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.getStateVariables'");
16387 swig_res = SWIG_ConvertPtr(result,&swig_argp,SWIGTYPE_p_std__mapT_std__string_double_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_double_t_t_t, 0 | 0);
16388 if (!SWIG_IsOK(swig_res)) {
16389 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > >""'");
16391 c_result = *(
reinterpret_cast< std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double >
> > * >(swig_argp));
16392 if (SWIG_IsNewObj(swig_res))
delete reinterpret_cast< std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double >
> > * >(swig_argp);
16393 return (std::map< std::string,
double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > >) c_result;
16397 bool SwigDirector_SpaceShower::isSpacelike(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
16400 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16402 obj1 = SWIG_From_int(static_cast< int >(arg1));
16404 obj2 = SWIG_From_int(static_cast< int >(arg2));
16406 obj3 = SWIG_From_int(static_cast< int >(arg3));
16408 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
16409 if (!swig_get_self()) {
16410 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16412 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16413 const size_t swig_method_index = 20;
16414 const char *
const swig_method_name =
"isSpacelike";
16415 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16416 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16418 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"isSpacelike", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16421 PyObject *error = PyErr_Occurred();
16423 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.isSpacelike'");
16427 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16428 if (!SWIG_IsOK(swig_res)) {
16429 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16431 c_result = static_cast< bool >(swig_val);
16432 return (
bool) c_result;
16436 std::vector< std::string,std::allocator< std::string > > SwigDirector_SpaceShower::getSplittingName(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3) {
16437 std::vector< std::string,std::allocator< std::string > > c_result;
16439 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16441 obj1 = SWIG_From_int(static_cast< int >(arg1));
16443 obj2 = SWIG_From_int(static_cast< int >(arg2));
16445 obj3 = SWIG_From_int(static_cast< int >(arg3));
16446 if (!swig_get_self()) {
16447 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16449 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16450 const size_t swig_method_index = 21;
16451 const char *
const swig_method_name =
"getSplittingName";
16452 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16453 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16455 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getSplittingName", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16458 PyObject *error = PyErr_Occurred();
16460 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.getSplittingName'");
16463 std::vector< std::string,std::allocator< std::string > > *swig_optr = 0;
16464 int swig_ores = swig::asptr(result, &swig_optr);
16465 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
16466 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::vector< std::string,std::allocator< std::string > >""'");
16468 c_result = *swig_optr;
16469 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
16470 return (std::vector< std::string,std::allocator< std::string > >) c_result;
16474 double SwigDirector_SpaceShower::getSplittingProb(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
16477 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16479 obj1 = SWIG_From_int(static_cast< int >(arg1));
16481 obj2 = SWIG_From_int(static_cast< int >(arg2));
16483 obj3 = SWIG_From_int(static_cast< int >(arg3));
16485 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
16486 if (!swig_get_self()) {
16487 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16489 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16490 const size_t swig_method_index = 22;
16491 const char *
const swig_method_name =
"getSplittingProb";
16492 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16493 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16495 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getSplittingProb", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16498 PyObject *error = PyErr_Occurred();
16500 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.getSplittingProb'");
16504 int swig_res = SWIG_AsVal_double(result, &swig_val);
16505 if (!SWIG_IsOK(swig_res)) {
16506 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
16508 c_result = static_cast< double >(swig_val);
16509 return (
double) c_result;
16513 bool SwigDirector_SpaceShower::allowedSplitting(
Pythia8::Event const &arg0,
int arg1,
int arg2) {
16516 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16518 obj1 = SWIG_From_int(static_cast< int >(arg1));
16520 obj2 = SWIG_From_int(static_cast< int >(arg2));
16521 if (!swig_get_self()) {
16522 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16524 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16525 const size_t swig_method_index = 23;
16526 const char *
const swig_method_name =
"allowedSplitting";
16527 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16528 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16530 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"allowedSplitting", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16533 PyObject *error = PyErr_Occurred();
16535 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.allowedSplitting'");
16539 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16540 if (!SWIG_IsOK(swig_res)) {
16541 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16543 c_result = static_cast< bool >(swig_val);
16544 return (
bool) c_result;
16548 std::vector< int,std::allocator< int > > SwigDirector_SpaceShower::getRecoilers(
Pythia8::Event const &arg0,
int arg1,
int arg2, std::string arg3) {
16549 std::vector< int,std::allocator< int > > c_result;
16551 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16553 obj1 = SWIG_From_int(static_cast< int >(arg1));
16555 obj2 = SWIG_From_int(static_cast< int >(arg2));
16557 obj3 = SWIG_From_std_string(static_cast< std::string >(arg3));
16558 if (!swig_get_self()) {
16559 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call SpaceShower.__init__.");
16561 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16562 const size_t swig_method_index = 24;
16563 const char *
const swig_method_name =
"getRecoilers";
16564 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16565 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16567 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getRecoilers", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16570 PyObject *error = PyErr_Occurred();
16572 Swig::DirectorMethodException::raise(
"Error detected when calling 'SpaceShower.getRecoilers'");
16575 std::vector< int,std::allocator< int > > *swig_optr = 0;
16576 int swig_ores = swig::asptr(result, &swig_optr);
16577 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
16578 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::vector< int,std::allocator< int > >""'");
16580 c_result = *swig_optr;
16581 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
16582 return (std::vector<
int,std::allocator< int > >) c_result;
16586 SwigDirector_TimeShower::SwigDirector_TimeShower(PyObject *
self): Pythia8::
TimeShower(), Swig::Director(self) {
16593 SwigDirector_TimeShower::~SwigDirector_TimeShower() {
16598 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(arg0), SWIGTYPE_p_Pythia8__BeamParticle, 0 );
16600 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(arg1), SWIGTYPE_p_Pythia8__BeamParticle, 0 );
16601 if (!swig_get_self()) {
16602 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16604 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16605 const size_t swig_method_index = 0;
16606 const char *
const swig_method_name =
"init";
16607 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16608 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16610 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"init", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16613 PyObject *error = PyErr_Occurred();
16615 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.init'");
16621 bool SwigDirector_TimeShower::limitPTmax(
Pythia8::Event &arg0,
double arg1,
double arg2) {
16624 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16626 obj1 = SWIG_From_double(static_cast< double >(arg1));
16628 obj2 = SWIG_From_double(static_cast< double >(arg2));
16629 if (!swig_get_self()) {
16630 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16632 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16633 const size_t swig_method_index = 3;
16634 const char *
const swig_method_name =
"limitPTmax";
16635 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16636 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16638 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"limitPTmax", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16641 PyObject *error = PyErr_Occurred();
16643 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.limitPTmax'");
16647 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16648 if (!SWIG_IsOK(swig_res)) {
16649 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16651 c_result = static_cast< bool >(swig_val);
16652 return (
bool) c_result;
16656 int SwigDirector_TimeShower::shower(
int arg0,
int arg1,
Pythia8::Event &arg2,
double arg3,
int arg4) {
16659 obj0 = SWIG_From_int(static_cast< int >(arg0));
16661 obj1 = SWIG_From_int(static_cast< int >(arg1));
16663 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg2), SWIGTYPE_p_Pythia8__Event, 0 );
16665 obj3 = SWIG_From_double(static_cast< double >(arg3));
16667 obj4 = SWIG_From_int(static_cast< int >(arg4));
16668 if (!swig_get_self()) {
16669 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16671 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16672 const size_t swig_method_index = 6;
16673 const char *
const swig_method_name =
"shower";
16674 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16675 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16677 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"shower", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16680 PyObject *error = PyErr_Occurred();
16682 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.shower'");
16686 int swig_res = SWIG_AsVal_int(result, &swig_val);
16687 if (!SWIG_IsOK(swig_res)) {
16688 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
16690 c_result = static_cast< int >(swig_val);
16691 return (
int) c_result;
16695 int SwigDirector_TimeShower::showerQED(
int arg0,
int arg1,
Pythia8::Event &arg2,
double arg3) {
16698 obj0 = SWIG_From_int(static_cast< int >(arg0));
16700 obj1 = SWIG_From_int(static_cast< int >(arg1));
16702 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg2), SWIGTYPE_p_Pythia8__Event, 0 );
16704 obj3 = SWIG_From_double(static_cast< double >(arg3));
16705 if (!swig_get_self()) {
16706 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16708 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16709 const size_t swig_method_index = 8;
16710 const char *
const swig_method_name =
"showerQED";
16711 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16712 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16714 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"showerQED", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
16717 PyObject *error = PyErr_Occurred();
16719 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.showerQED'");
16723 int swig_res = SWIG_AsVal_int(result, &swig_val);
16724 if (!SWIG_IsOK(swig_res)) {
16725 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
16727 c_result = static_cast< int >(swig_val);
16728 return (
int) c_result;
16732 int SwigDirector_TimeShower::showerQEDafterRemnants(
Pythia8::Event &arg0) {
16735 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16736 if (!swig_get_self()) {
16737 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16739 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16740 const size_t swig_method_index = 9;
16741 const char *
const swig_method_name =
"showerQEDafterRemnants";
16742 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16745 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"showerQEDafterRemnants", (
char *)
"(O)" ,(PyObject *)obj0);
16748 PyObject *error = PyErr_Occurred();
16750 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.showerQEDafterRemnants'");
16754 int swig_res = SWIG_AsVal_int(result, &swig_val);
16755 if (!SWIG_IsOK(swig_res)) {
16756 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
16758 c_result = static_cast< int >(swig_val);
16759 return (
int) c_result;
16763 void SwigDirector_TimeShower::prepareGlobal(
Pythia8::Event &arg0) {
16765 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16766 if (!swig_get_self()) {
16767 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16769 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16770 const size_t swig_method_index = 10;
16771 const char *
const swig_method_name =
"prepareGlobal";
16772 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16775 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"prepareGlobal", (
char *)
"(O)" ,(PyObject *)obj0);
16778 PyObject *error = PyErr_Occurred();
16780 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.prepareGlobal'");
16786 void SwigDirector_TimeShower::prepare(
int arg0,
Pythia8::Event &arg1,
bool arg2) {
16788 obj0 = SWIG_From_int(static_cast< int >(arg0));
16790 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
16792 obj2 = SWIG_From_bool(static_cast< bool >(arg2));
16793 if (!swig_get_self()) {
16794 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16796 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16797 const size_t swig_method_index = 11;
16798 const char *
const swig_method_name =
"prepare";
16799 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16800 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16802 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"prepare", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16805 PyObject *error = PyErr_Occurred();
16807 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.prepare'");
16813 void SwigDirector_TimeShower::rescatterUpdate(
int arg0,
Pythia8::Event &arg1) {
16815 obj0 = SWIG_From_int(static_cast< int >(arg0));
16817 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
16818 if (!swig_get_self()) {
16819 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16821 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16822 const size_t swig_method_index = 13;
16823 const char *
const swig_method_name =
"rescatterUpdate";
16824 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16825 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16827 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"rescatterUpdate", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16830 PyObject *error = PyErr_Occurred();
16832 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.rescatterUpdate'");
16838 void SwigDirector_TimeShower::update(
int arg0,
Pythia8::Event &arg1,
bool arg2) {
16840 obj0 = SWIG_From_int(static_cast< int >(arg0));
16842 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_Pythia8__Event, 0 );
16844 obj2 = SWIG_From_bool(static_cast< bool >(arg2));
16845 if (!swig_get_self()) {
16846 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16848 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16849 const size_t swig_method_index = 14;
16850 const char *
const swig_method_name =
"update";
16851 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16852 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16854 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"update", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
16857 PyObject *error = PyErr_Occurred();
16859 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.update'");
16865 double SwigDirector_TimeShower::pTnext(
Pythia8::Event &arg0,
double arg1,
double arg2,
bool arg3,
bool arg4) {
16868 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16870 obj1 = SWIG_From_double(static_cast< double >(arg1));
16872 obj2 = SWIG_From_double(static_cast< double >(arg2));
16874 obj3 = SWIG_From_bool(static_cast< bool >(arg3));
16876 obj4 = SWIG_From_bool(static_cast< bool >(arg4));
16877 if (!swig_get_self()) {
16878 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16880 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16881 const size_t swig_method_index = 16;
16882 const char *
const swig_method_name =
"pTnext";
16883 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16884 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16886 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"pTnext", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
16889 PyObject *error = PyErr_Occurred();
16891 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.pTnext'");
16895 int swig_res = SWIG_AsVal_double(result, &swig_val);
16896 if (!SWIG_IsOK(swig_res)) {
16897 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
16899 c_result = static_cast< double >(swig_val);
16900 return (
double) c_result;
16904 bool SwigDirector_TimeShower::branch(
Pythia8::Event &arg0,
bool arg1) {
16907 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
16909 obj1 = SWIG_From_bool(static_cast< bool >(arg1));
16910 if (!swig_get_self()) {
16911 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16913 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16914 const size_t swig_method_index = 19;
16915 const char *
const swig_method_name =
"branch";
16916 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16917 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16919 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"branch", (
char *)
"(OO)" ,(PyObject *)obj0,(PyObject *)obj1);
16922 PyObject *error = PyErr_Occurred();
16924 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.branch'");
16928 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16929 if (!SWIG_IsOK(swig_res)) {
16930 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16932 c_result = static_cast< bool >(swig_val);
16933 return (
bool) c_result;
16937 bool SwigDirector_TimeShower::initUncertainties() {
16939 if (!swig_get_self()) {
16940 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16942 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16943 const size_t swig_method_index = 21;
16944 const char *
const swig_method_name =
"initUncertainties";
16945 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16948 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"initUncertainties", NULL);
16951 PyObject *error = PyErr_Occurred();
16953 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.initUncertainties'");
16957 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16958 if (!SWIG_IsOK(swig_res)) {
16959 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16961 c_result = static_cast< bool >(swig_val);
16962 return (
bool) c_result;
16966 bool SwigDirector_TimeShower::getHasWeaklyRadiated() {
16968 if (!swig_get_self()) {
16969 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
16971 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
16972 const size_t swig_method_index = 22;
16973 const char *
const swig_method_name =
"getHasWeaklyRadiated";
16974 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
16977 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getHasWeaklyRadiated", NULL);
16980 PyObject *error = PyErr_Occurred();
16982 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.getHasWeaklyRadiated'");
16986 int swig_res = SWIG_AsVal_bool(result, &swig_val);
16987 if (!SWIG_IsOK(swig_res)) {
16988 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
16990 c_result = static_cast< bool >(swig_val);
16991 return (
bool) c_result;
16995 int SwigDirector_TimeShower::system()
const {
16997 if (!swig_get_self()) {
16998 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17000 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17001 const size_t swig_method_index = 23;
17002 const char *
const swig_method_name =
"system";
17003 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17009 PyObject *error = PyErr_Occurred();
17011 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.system'");
17015 int swig_res = SWIG_AsVal_int(result, &swig_val);
17016 if (!SWIG_IsOK(swig_res)) {
17017 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""int""'");
17019 c_result = static_cast< int >(swig_val);
17020 return (
int) c_result;
17024 double SwigDirector_TimeShower::enhancePTmax() {
17026 if (!swig_get_self()) {
17027 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17029 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17030 const size_t swig_method_index = 24;
17031 const char *
const swig_method_name =
"enhancePTmax";
17032 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17038 PyObject *error = PyErr_Occurred();
17040 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.enhancePTmax'");
17044 int swig_res = SWIG_AsVal_double(result, &swig_val);
17045 if (!SWIG_IsOK(swig_res)) {
17046 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
17048 c_result = static_cast< double >(swig_val);
17049 return (
double) c_result;
17053 double SwigDirector_TimeShower::pTLastInShower() {
17055 if (!swig_get_self()) {
17056 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17058 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17059 const size_t swig_method_index = 25;
17060 const char *
const swig_method_name =
"pTLastInShower";
17061 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17067 PyObject *error = PyErr_Occurred();
17069 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.pTLastInShower'");
17073 int swig_res = SWIG_AsVal_double(result, &swig_val);
17074 if (!SWIG_IsOK(swig_res)) {
17075 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
17077 c_result = static_cast< double >(swig_val);
17078 return (
double) c_result;
17088 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17090 obj1 = SWIG_From_int(static_cast< int >(arg1));
17092 obj2 = SWIG_From_int(static_cast< int >(arg2));
17094 obj3 = SWIG_From_int(static_cast< int >(arg3));
17096 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
17097 if (!swig_get_self()) {
17098 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17100 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17101 const size_t swig_method_index = 26;
17102 const char *
const swig_method_name =
"clustered";
17103 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17104 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17106 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"clustered", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17109 PyObject *error = PyErr_Occurred();
17111 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.clustered'");
17114 swig_res = SWIG_ConvertPtr(result,&swig_argp,SWIGTYPE_p_Pythia8__Event, 0 | 0);
17115 if (!SWIG_IsOK(swig_res)) {
17116 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""Pythia8::Event""'");
17118 c_result = *(reinterpret_cast< Pythia8::Event * >(swig_argp));
17119 if (SWIG_IsNewObj(swig_res))
delete reinterpret_cast< Pythia8::Event * >(swig_argp);
17124 std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > SwigDirector_TimeShower::getStateVariables(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
17128 std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > > c_result;
17130 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17132 obj1 = SWIG_From_int(static_cast< int >(arg1));
17134 obj2 = SWIG_From_int(static_cast< int >(arg2));
17136 obj3 = SWIG_From_int(static_cast< int >(arg3));
17138 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
17139 if (!swig_get_self()) {
17140 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17142 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17143 const size_t swig_method_index = 27;
17144 const char *
const swig_method_name =
"getStateVariables";
17145 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17146 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17148 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getStateVariables", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17151 PyObject *error = PyErr_Occurred();
17153 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.getStateVariables'");
17156 swig_res = SWIG_ConvertPtr(result,&swig_argp,SWIGTYPE_p_std__mapT_std__string_double_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_double_t_t_t, 0 | 0);
17157 if (!SWIG_IsOK(swig_res)) {
17158 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > >""'");
17160 c_result = *(
reinterpret_cast< std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double >
> > * >(swig_argp));
17161 if (SWIG_IsNewObj(swig_res))
delete reinterpret_cast< std::map< std::string,double,std::less< std::string >,std::allocator< std::pair< std::string const,double >
> > * >(swig_argp);
17162 return (std::map< std::string,
double,std::less< std::string >,std::allocator< std::pair< std::string const,double > > >) c_result;
17166 bool SwigDirector_TimeShower::isTimelike(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
17169 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17171 obj1 = SWIG_From_int(static_cast< int >(arg1));
17173 obj2 = SWIG_From_int(static_cast< int >(arg2));
17175 obj3 = SWIG_From_int(static_cast< int >(arg3));
17177 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
17178 if (!swig_get_self()) {
17179 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17181 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17182 const size_t swig_method_index = 28;
17183 const char *
const swig_method_name =
"isTimelike";
17184 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17185 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17187 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"isTimelike", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17190 PyObject *error = PyErr_Occurred();
17192 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.isTimelike'");
17196 int swig_res = SWIG_AsVal_bool(result, &swig_val);
17197 if (!SWIG_IsOK(swig_res)) {
17198 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
17200 c_result = static_cast< bool >(swig_val);
17201 return (
bool) c_result;
17205 std::vector< std::string,std::allocator< std::string > > SwigDirector_TimeShower::getSplittingName(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3) {
17206 std::vector< std::string,std::allocator< std::string > > c_result;
17208 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17210 obj1 = SWIG_From_int(static_cast< int >(arg1));
17212 obj2 = SWIG_From_int(static_cast< int >(arg2));
17214 obj3 = SWIG_From_int(static_cast< int >(arg3));
17215 if (!swig_get_self()) {
17216 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17218 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17219 const size_t swig_method_index = 29;
17220 const char *
const swig_method_name =
"getSplittingName";
17221 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17222 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
17224 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getSplittingName", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
17227 PyObject *error = PyErr_Occurred();
17229 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.getSplittingName'");
17232 std::vector< std::string,std::allocator< std::string > > *swig_optr = 0;
17233 int swig_ores = swig::asptr(result, &swig_optr);
17234 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
17235 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::vector< std::string,std::allocator< std::string > >""'");
17237 c_result = *swig_optr;
17238 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
17239 return (std::vector< std::string,std::allocator< std::string > >) c_result;
17243 double SwigDirector_TimeShower::getSplittingProb(
Pythia8::Event const &arg0,
int arg1,
int arg2,
int arg3, std::string arg4) {
17246 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17248 obj1 = SWIG_From_int(static_cast< int >(arg1));
17250 obj2 = SWIG_From_int(static_cast< int >(arg2));
17252 obj3 = SWIG_From_int(static_cast< int >(arg3));
17254 obj4 = SWIG_From_std_string(static_cast< std::string >(arg4));
17255 if (!swig_get_self()) {
17256 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17258 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17259 const size_t swig_method_index = 30;
17260 const char *
const swig_method_name =
"getSplittingProb";
17261 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17262 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17264 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getSplittingProb", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17267 PyObject *error = PyErr_Occurred();
17269 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.getSplittingProb'");
17273 int swig_res = SWIG_AsVal_double(result, &swig_val);
17274 if (!SWIG_IsOK(swig_res)) {
17275 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""double""'");
17277 c_result = static_cast< double >(swig_val);
17278 return (
double) c_result;
17282 bool SwigDirector_TimeShower::allowedSplitting(
Pythia8::Event const &arg0,
int arg1,
int arg2) {
17285 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17287 obj1 = SWIG_From_int(static_cast< int >(arg1));
17289 obj2 = SWIG_From_int(static_cast< int >(arg2));
17290 if (!swig_get_self()) {
17291 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17293 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17294 const size_t swig_method_index = 31;
17295 const char *
const swig_method_name =
"allowedSplitting";
17296 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17297 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
17299 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"allowedSplitting", (
char *)
"(OOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2);
17302 PyObject *error = PyErr_Occurred();
17304 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.allowedSplitting'");
17308 int swig_res = SWIG_AsVal_bool(result, &swig_val);
17309 if (!SWIG_IsOK(swig_res)) {
17310 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
17312 c_result = static_cast< bool >(swig_val);
17313 return (
bool) c_result;
17317 std::vector< int,std::allocator< int > > SwigDirector_TimeShower::getRecoilers(
Pythia8::Event const &arg0,
int arg1,
int arg2, std::string arg3) {
17318 std::vector< int,std::allocator< int > > c_result;
17320 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_Pythia8__Event, 0 );
17322 obj1 = SWIG_From_int(static_cast< int >(arg1));
17324 obj2 = SWIG_From_int(static_cast< int >(arg2));
17326 obj3 = SWIG_From_std_string(static_cast< std::string >(arg3));
17327 if (!swig_get_self()) {
17328 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call TimeShower.__init__.");
17330 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17331 const size_t swig_method_index = 32;
17332 const char *
const swig_method_name =
"getRecoilers";
17333 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17334 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
17336 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"getRecoilers", (
char *)
"(OOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3);
17339 PyObject *error = PyErr_Occurred();
17341 Swig::DirectorMethodException::raise(
"Error detected when calling 'TimeShower.getRecoilers'");
17344 std::vector< int,std::allocator< int > > *swig_optr = 0;
17345 int swig_ores = swig::asptr(result, &swig_optr);
17346 if (!SWIG_IsOK(swig_ores) || !swig_optr) {
17347 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))),
"in output value of type '""std::vector< int,std::allocator< int > >""'");
17349 c_result = *swig_optr;
17350 if (SWIG_IsNewObj(swig_ores))
delete swig_optr;
17351 return (std::vector<
int,std::allocator< int > >) c_result;
17355 SwigDirector_DecayHandler::SwigDirector_DecayHandler(PyObject *
self): Pythia8::
DecayHandler(), Swig::Director(self) {
17362 SwigDirector_DecayHandler::~SwigDirector_DecayHandler() {
17365 bool SwigDirector_DecayHandler::decay(std::vector<
int,std::allocator< int > > &arg0, std::vector<
double,std::allocator< double > > &arg1, std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > &arg2,
int arg3,
Pythia8::Event const &arg4) {
17368 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
17370 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
17372 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg2), SWIGTYPE_p_std__vectorT_Pythia8__Vec4_std__allocatorT_Pythia8__Vec4_t_t, 0 );
17374 obj3 = SWIG_From_int(static_cast< int >(arg3));
17376 obj4 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg4), SWIGTYPE_p_Pythia8__Event, 0 );
17377 if (!swig_get_self()) {
17378 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call DecayHandler.__init__.");
17380 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17381 const size_t swig_method_index = 0;
17382 const char *
const swig_method_name =
"decay";
17383 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17384 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17386 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"decay", (
char *)
"(OOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4);
17389 PyObject *error = PyErr_Occurred();
17391 Swig::DirectorMethodException::raise(
"Error detected when calling 'DecayHandler.decay'");
17395 int swig_res = SWIG_AsVal_bool(result, &swig_val);
17396 if (!SWIG_IsOK(swig_res)) {
17397 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
17399 c_result = static_cast< bool >(swig_val);
17400 return (
bool) c_result;
17404 bool SwigDirector_DecayHandler::chainDecay(std::vector<
int,std::allocator< int > > &arg0, std::vector<
int,std::allocator< int > > &arg1, std::vector<
double,std::allocator< double > > &arg2, std::vector<
Pythia8::Vec4,std::allocator< Pythia8::Vec4 > > &arg3,
int arg4,
Pythia8::Event const &arg5) {
17407 obj0 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg0), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
17409 obj1 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg1), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 );
17411 obj2 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg2), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 );
17413 obj3 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg3), SWIGTYPE_p_std__vectorT_Pythia8__Vec4_std__allocatorT_Pythia8__Vec4_t_t, 0 );
17415 obj4 = SWIG_From_int(static_cast< int >(arg4));
17417 obj5 = SWIG_NewPointerObj(SWIG_as_voidptr(&arg5), SWIGTYPE_p_Pythia8__Event, 0 );
17418 if (!swig_get_self()) {
17419 Swig::DirectorException::raise(
"'self' uninitialized, maybe you forgot to call DecayHandler.__init__.");
17421 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
17422 const size_t swig_method_index = 1;
17423 const char *
const swig_method_name =
"chainDecay";
17424 PyObject* method = swig_get_method(swig_method_index, swig_method_name);
17425 swig::SwigVar_PyObject result = PyObject_CallFunction(method, (
char *)
"(OOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5);
17427 swig::SwigVar_PyObject result = PyObject_CallMethod(swig_get_self(), (
char *)
"chainDecay", (
char *)
"(OOOOOO)" ,(PyObject *)obj0,(PyObject *)obj1,(PyObject *)obj2,(PyObject *)obj3,(PyObject *)obj4,(PyObject *)obj5);
17430 PyObject *error = PyErr_Occurred();
17432 Swig::DirectorMethodException::raise(
"Error detected when calling 'DecayHandler.chainDecay'");
17436 int swig_res = SWIG_AsVal_bool(result, &swig_val);
17437 if (!SWIG_IsOK(swig_res)) {
17438 Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)),
"in output value of type '""bool""'");
17440 c_result = static_cast< bool >(swig_val);
17441 return (
bool) c_result;
17448 SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17449 PyObject *resultobj = 0;
17453 PyObject * obj0 = 0 ;
17455 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_SwigPyIterator",&obj0)) SWIG_fail;
17456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
17457 if (!SWIG_IsOK(res1)) {
17458 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_SwigPyIterator" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17460 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17462 resultobj = SWIG_Py_Void();
17469 SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17470 PyObject *resultobj = 0;
17474 PyObject * obj0 = 0 ;
17475 PyObject *result = 0 ;
17477 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_value",&obj0)) SWIG_fail;
17478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17479 if (!SWIG_IsOK(res1)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
17482 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17489 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17494 resultobj = result;
17501 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17502 PyObject *resultobj = 0;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17513 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator_incr",&obj0,&obj1)) SWIG_fail;
17514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17515 if (!SWIG_IsOK(res1)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17518 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17519 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17520 if (!SWIG_IsOK(ecode2)) {
17521 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator_incr" "', argument " "2"" of type '" "size_t""'");
17523 arg2 = static_cast< size_t >(val2);
17530 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17542 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17543 PyObject *resultobj = 0;
17547 PyObject * obj0 = 0 ;
17550 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_incr",&obj0)) SWIG_fail;
17551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17552 if (!SWIG_IsOK(res1)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_incr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17555 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17562 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17574 SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *
self, PyObject *args) {
17576 PyObject *argv[3] = {
17581 if (!PyTuple_Check(args)) SWIG_fail;
17582 argc = args ? PyObject_Length(args) : 0;
17583 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
17584 argv[ii] = PyTuple_GET_ITEM(args,ii);
17589 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
17590 _v = SWIG_CheckState(res);
17592 return _wrap_SwigPyIterator_incr__SWIG_1(
self, args);
17598 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
17599 _v = SWIG_CheckState(res);
17602 int res = SWIG_AsVal_size_t(argv[1], NULL);
17603 _v = SWIG_CheckState(res);
17606 return _wrap_SwigPyIterator_incr__SWIG_0(
self, args);
17612 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'SwigPyIterator_incr'.\n"
17613 " Possible C/C++ prototypes are:\n"
17614 " swig::SwigPyIterator::incr(size_t)\n"
17615 " swig::SwigPyIterator::incr()\n");
17620 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17621 PyObject *resultobj = 0;
17628 PyObject * obj0 = 0 ;
17629 PyObject * obj1 = 0 ;
17632 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator_decr",&obj0,&obj1)) SWIG_fail;
17633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17634 if (!SWIG_IsOK(res1)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17637 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17638 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17639 if (!SWIG_IsOK(ecode2)) {
17640 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator_decr" "', argument " "2"" of type '" "size_t""'");
17642 arg2 = static_cast< size_t >(val2);
17649 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17661 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17662 PyObject *resultobj = 0;
17666 PyObject * obj0 = 0 ;
17669 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_decr",&obj0)) SWIG_fail;
17670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17671 if (!SWIG_IsOK(res1)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_decr" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17674 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17681 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17693 SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *
self, PyObject *args) {
17695 PyObject *argv[3] = {
17700 if (!PyTuple_Check(args)) SWIG_fail;
17701 argc = args ? PyObject_Length(args) : 0;
17702 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
17703 argv[ii] = PyTuple_GET_ITEM(args,ii);
17708 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
17709 _v = SWIG_CheckState(res);
17711 return _wrap_SwigPyIterator_decr__SWIG_1(
self, args);
17717 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
17718 _v = SWIG_CheckState(res);
17721 int res = SWIG_AsVal_size_t(argv[1], NULL);
17722 _v = SWIG_CheckState(res);
17725 return _wrap_SwigPyIterator_decr__SWIG_0(
self, args);
17731 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
17732 " Possible C/C++ prototypes are:\n"
17733 " swig::SwigPyIterator::decr(size_t)\n"
17734 " swig::SwigPyIterator::decr()\n");
17739 SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17740 PyObject *resultobj = 0;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17751 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator_distance",&obj0,&obj1)) SWIG_fail;
17752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17753 if (!SWIG_IsOK(res1)) {
17754 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_distance" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
17756 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17757 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
17758 if (!SWIG_IsOK(res2)) {
17759 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
17762 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "SwigPyIterator_distance" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
17764 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
17768 catch(std::invalid_argument &_e) {
17769 SWIG_Python_Raise(SWIG_NewPointerObj((
new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN),
"std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
17772 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
17779 SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17780 PyObject *resultobj = 0;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17791 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator_equal",&obj0,&obj1)) SWIG_fail;
17792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17793 if (!SWIG_IsOK(res1)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_equal" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
17796 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17797 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
17798 if (!SWIG_IsOK(res2)) {
17799 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
17802 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "SwigPyIterator_equal" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
17804 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
17808 catch(std::invalid_argument &_e) {
17809 SWIG_Python_Raise(SWIG_NewPointerObj((
new std::invalid_argument(static_cast< const std::invalid_argument& >(_e))),SWIGTYPE_p_std__invalid_argument,SWIG_POINTER_OWN),
"std::invalid_argument", SWIGTYPE_p_std__invalid_argument); SWIG_fail;
17812 resultobj = SWIG_From_bool(static_cast< bool >(result));
17819 SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17820 PyObject *resultobj = 0;
17824 PyObject * obj0 = 0 ;
17827 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_copy",&obj0)) SWIG_fail;
17828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17829 if (!SWIG_IsOK(res1)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_copy" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
17832 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
17841 SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17842 PyObject *resultobj = 0;
17846 PyObject * obj0 = 0 ;
17847 PyObject *result = 0 ;
17849 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_next",&obj0)) SWIG_fail;
17850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17851 if (!SWIG_IsOK(res1)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_next" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17854 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17856 result = (PyObject *)(arg1)->next();
17861 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17866 resultobj = result;
17873 SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17874 PyObject *resultobj = 0;
17878 PyObject * obj0 = 0 ;
17879 PyObject *result = 0 ;
17881 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator___next__",&obj0)) SWIG_fail;
17882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17883 if (!SWIG_IsOK(res1)) {
17884 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___next__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17886 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17888 result = (PyObject *)(arg1)->__next__();
17893 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17898 resultobj = result;
17905 SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17906 PyObject *resultobj = 0;
17910 PyObject * obj0 = 0 ;
17911 PyObject *result = 0 ;
17913 if (!PyArg_ParseTuple(args,(
char *)
"O:SwigPyIterator_previous",&obj0)) SWIG_fail;
17914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17915 if (!SWIG_IsOK(res1)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_previous" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17918 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17920 result = (PyObject *)(arg1)->previous();
17925 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17930 resultobj = result;
17937 SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17938 PyObject *resultobj = 0;
17945 PyObject * obj0 = 0 ;
17946 PyObject * obj1 = 0 ;
17949 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator_advance",&obj0,&obj1)) SWIG_fail;
17950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17951 if (!SWIG_IsOK(res1)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator_advance" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
17954 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17955 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
17956 if (!SWIG_IsOK(ecode2)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator_advance" "', argument " "2"" of type '" "ptrdiff_t""'");
17959 arg2 = static_cast< ptrdiff_t >(val2);
17966 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
17971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17978 SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
17979 PyObject *resultobj = 0;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17990 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___eq__",&obj0,&obj1)) SWIG_fail;
17991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
17992 if (!SWIG_IsOK(res1)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___eq__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
17995 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
17996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
17997 if (!SWIG_IsOK(res2)) {
17998 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18001 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "SwigPyIterator___eq__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18003 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
18005 resultobj = SWIG_From_bool(static_cast< bool >(result));
18012 SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18013 PyObject *resultobj = 0;
18020 PyObject * obj0 = 0 ;
18021 PyObject * obj1 = 0 ;
18024 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___ne__",&obj0,&obj1)) SWIG_fail;
18025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
18026 if (!SWIG_IsOK(res1)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___ne__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
18029 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18030 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
18031 if (!SWIG_IsOK(res2)) {
18032 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18035 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "SwigPyIterator___ne__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18037 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
18039 resultobj = SWIG_From_bool(static_cast< bool >(result));
18046 SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18047 PyObject *resultobj = 0;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18058 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___iadd__",&obj0,&obj1)) SWIG_fail;
18059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
18060 if (!SWIG_IsOK(res1)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___iadd__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
18063 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18064 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18065 if (!SWIG_IsOK(ecode2)) {
18066 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator___iadd__" "', argument " "2"" of type '" "ptrdiff_t""'");
18068 arg2 = static_cast< ptrdiff_t >(val2);
18075 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
18080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
18087 SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18088 PyObject *resultobj = 0;
18095 PyObject * obj0 = 0 ;
18096 PyObject * obj1 = 0 ;
18099 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___isub__",&obj0,&obj1)) SWIG_fail;
18100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 );
18101 if (!SWIG_IsOK(res1)) {
18102 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___isub__" "', argument " "1"" of type '" "swig::SwigPyIterator *""'");
18104 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18105 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18106 if (!SWIG_IsOK(ecode2)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator___isub__" "', argument " "2"" of type '" "ptrdiff_t""'");
18109 arg2 = static_cast< ptrdiff_t >(val2);
18116 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
18121 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
18128 SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18129 PyObject *resultobj = 0;
18136 PyObject * obj0 = 0 ;
18137 PyObject * obj1 = 0 ;
18140 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___add__",&obj0,&obj1)) SWIG_fail;
18141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
18142 if (!SWIG_IsOK(res1)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___add__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
18145 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18146 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18147 if (!SWIG_IsOK(ecode2)) {
18148 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator___add__" "', argument " "2"" of type '" "ptrdiff_t""'");
18150 arg2 = static_cast< ptrdiff_t >(val2);
18157 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
18162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
18169 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18170 PyObject *resultobj = 0;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18181 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
18182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
18183 if (!SWIG_IsOK(res1)) {
18184 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
18186 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18187 ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2);
18188 if (!SWIG_IsOK(ecode2)) {
18189 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "ptrdiff_t""'");
18191 arg2 = static_cast< ptrdiff_t >(val2);
18198 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
18203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
18210 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18211 PyObject *resultobj = 0;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18222 if (!PyArg_ParseTuple(args,(
char *)
"OO:SwigPyIterator___sub__",&obj0,&obj1)) SWIG_fail;
18223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
18224 if (!SWIG_IsOK(res1)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "SwigPyIterator___sub__" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
18227 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
18228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_swig__SwigPyIterator, 0 | 0);
18229 if (!SWIG_IsOK(res2)) {
18230 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18233 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "SwigPyIterator___sub__" "', argument " "2"" of type '" "swig::SwigPyIterator const &""'");
18235 arg2 = reinterpret_cast< swig::SwigPyIterator * >(argp2);
18237 resultobj = SWIG_From_ptrdiff_t(static_cast< ptrdiff_t >(result));
18244 SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *
self, PyObject *args) {
18246 PyObject *argv[3] = {
18251 if (!PyTuple_Check(args)) SWIG_fail;
18252 argc = args ? PyObject_Length(args) : 0;
18253 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
18254 argv[ii] = PyTuple_GET_ITEM(args,ii);
18259 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
18260 _v = SWIG_CheckState(res);
18262 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0);
18263 _v = SWIG_CheckState(res);
18265 return _wrap_SwigPyIterator___sub____SWIG_1(
self, args);
18272 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
18273 _v = SWIG_CheckState(res);
18276 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
18277 _v = SWIG_CheckState(res);
18280 return _wrap_SwigPyIterator___sub____SWIG_0(
self, args);
18286 Py_INCREF(Py_NotImplemented);
18287 return Py_NotImplemented;
18291 SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18293 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
18294 SWIG_TypeNewClientData(SWIGTYPE_p_swig__SwigPyIterator, SWIG_NewClientData(obj));
18295 return SWIG_Py_Void();
18298 SWIGINTERN
int Swig_var_ios_base_boolalpha_set(PyObject *) {
18299 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_boolalpha is read-only.");
18304 SWIGINTERN PyObject *Swig_var_ios_base_boolalpha_get(
void) {
18305 PyObject *pyobj = 0;
18307 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::boolalpha));
18312 SWIGINTERN
int Swig_var_ios_base_dec_set(PyObject *) {
18313 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_dec is read-only.");
18318 SWIGINTERN PyObject *Swig_var_ios_base_dec_get(
void) {
18319 PyObject *pyobj = 0;
18321 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::dec));
18326 SWIGINTERN
int Swig_var_ios_base_fixed_set(PyObject *) {
18327 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_fixed is read-only.");
18332 SWIGINTERN PyObject *Swig_var_ios_base_fixed_get(
void) {
18333 PyObject *pyobj = 0;
18335 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::fixed));
18340 SWIGINTERN
int Swig_var_ios_base_hex_set(PyObject *) {
18341 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_hex is read-only.");
18346 SWIGINTERN PyObject *Swig_var_ios_base_hex_get(
void) {
18347 PyObject *pyobj = 0;
18349 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::hex));
18354 SWIGINTERN
int Swig_var_ios_base_internal_set(PyObject *) {
18355 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_internal is read-only.");
18360 SWIGINTERN PyObject *Swig_var_ios_base_internal_get(
void) {
18361 PyObject *pyobj = 0;
18363 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::internal));
18368 SWIGINTERN
int Swig_var_ios_base_left_set(PyObject *) {
18369 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_left is read-only.");
18374 SWIGINTERN PyObject *Swig_var_ios_base_left_get(
void) {
18375 PyObject *pyobj = 0;
18377 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::left));
18382 SWIGINTERN
int Swig_var_ios_base_oct_set(PyObject *) {
18383 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_oct is read-only.");
18388 SWIGINTERN PyObject *Swig_var_ios_base_oct_get(
void) {
18389 PyObject *pyobj = 0;
18391 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::oct));
18396 SWIGINTERN
int Swig_var_ios_base_right_set(PyObject *) {
18397 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_right is read-only.");
18402 SWIGINTERN PyObject *Swig_var_ios_base_right_get(
void) {
18403 PyObject *pyobj = 0;
18405 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::right));
18410 SWIGINTERN
int Swig_var_ios_base_scientific_set(PyObject *) {
18411 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_scientific is read-only.");
18416 SWIGINTERN PyObject *Swig_var_ios_base_scientific_get(
void) {
18417 PyObject *pyobj = 0;
18419 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::scientific));
18424 SWIGINTERN
int Swig_var_ios_base_showbase_set(PyObject *) {
18425 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_showbase is read-only.");
18430 SWIGINTERN PyObject *Swig_var_ios_base_showbase_get(
void) {
18431 PyObject *pyobj = 0;
18433 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::showbase));
18438 SWIGINTERN
int Swig_var_ios_base_showpoint_set(PyObject *) {
18439 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_showpoint is read-only.");
18444 SWIGINTERN PyObject *Swig_var_ios_base_showpoint_get(
void) {
18445 PyObject *pyobj = 0;
18447 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::showpoint));
18452 SWIGINTERN
int Swig_var_ios_base_showpos_set(PyObject *) {
18453 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_showpos is read-only.");
18458 SWIGINTERN PyObject *Swig_var_ios_base_showpos_get(
void) {
18459 PyObject *pyobj = 0;
18461 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::showpos));
18466 SWIGINTERN
int Swig_var_ios_base_skipws_set(PyObject *) {
18467 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_skipws is read-only.");
18472 SWIGINTERN PyObject *Swig_var_ios_base_skipws_get(
void) {
18473 PyObject *pyobj = 0;
18475 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::skipws));
18480 SWIGINTERN
int Swig_var_ios_base_unitbuf_set(PyObject *) {
18481 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_unitbuf is read-only.");
18486 SWIGINTERN PyObject *Swig_var_ios_base_unitbuf_get(
void) {
18487 PyObject *pyobj = 0;
18489 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::unitbuf));
18494 SWIGINTERN
int Swig_var_ios_base_uppercase_set(PyObject *) {
18495 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_uppercase is read-only.");
18500 SWIGINTERN PyObject *Swig_var_ios_base_uppercase_get(
void) {
18501 PyObject *pyobj = 0;
18503 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::uppercase));
18508 SWIGINTERN
int Swig_var_ios_base_adjustfield_set(PyObject *) {
18509 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_adjustfield is read-only.");
18514 SWIGINTERN PyObject *Swig_var_ios_base_adjustfield_get(
void) {
18515 PyObject *pyobj = 0;
18517 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::adjustfield));
18522 SWIGINTERN
int Swig_var_ios_base_basefield_set(PyObject *) {
18523 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_basefield is read-only.");
18528 SWIGINTERN PyObject *Swig_var_ios_base_basefield_get(
void) {
18529 PyObject *pyobj = 0;
18531 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::basefield));
18536 SWIGINTERN
int Swig_var_ios_base_floatfield_set(PyObject *) {
18537 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_floatfield is read-only.");
18542 SWIGINTERN PyObject *Swig_var_ios_base_floatfield_get(
void) {
18543 PyObject *pyobj = 0;
18545 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::floatfield));
18550 SWIGINTERN
int Swig_var_ios_base_badbit_set(PyObject *) {
18551 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_badbit is read-only.");
18556 SWIGINTERN PyObject *Swig_var_ios_base_badbit_get(
void) {
18557 PyObject *pyobj = 0;
18559 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::badbit));
18564 SWIGINTERN
int Swig_var_ios_base_eofbit_set(PyObject *) {
18565 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_eofbit is read-only.");
18570 SWIGINTERN PyObject *Swig_var_ios_base_eofbit_get(
void) {
18571 PyObject *pyobj = 0;
18573 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::eofbit));
18578 SWIGINTERN
int Swig_var_ios_base_failbit_set(PyObject *) {
18579 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_failbit is read-only.");
18584 SWIGINTERN PyObject *Swig_var_ios_base_failbit_get(
void) {
18585 PyObject *pyobj = 0;
18587 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::failbit));
18592 SWIGINTERN
int Swig_var_ios_base_goodbit_set(PyObject *) {
18593 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_goodbit is read-only.");
18598 SWIGINTERN PyObject *Swig_var_ios_base_goodbit_get(
void) {
18599 PyObject *pyobj = 0;
18601 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::goodbit));
18606 SWIGINTERN
int Swig_var_ios_base_app_set(PyObject *) {
18607 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_app is read-only.");
18612 SWIGINTERN PyObject *Swig_var_ios_base_app_get(
void) {
18613 PyObject *pyobj = 0;
18615 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::app));
18620 SWIGINTERN
int Swig_var_ios_base_ate_set(PyObject *) {
18621 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_ate is read-only.");
18626 SWIGINTERN PyObject *Swig_var_ios_base_ate_get(
void) {
18627 PyObject *pyobj = 0;
18629 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::ate));
18634 SWIGINTERN
int Swig_var_ios_base_binary_set(PyObject *) {
18635 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_binary is read-only.");
18640 SWIGINTERN PyObject *Swig_var_ios_base_binary_get(
void) {
18641 PyObject *pyobj = 0;
18643 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::binary));
18648 SWIGINTERN
int Swig_var_ios_base_ios_base_in_set(PyObject *) {
18649 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_ios_base_in is read-only.");
18654 SWIGINTERN PyObject *Swig_var_ios_base_ios_base_in_get(
void) {
18655 PyObject *pyobj = 0;
18657 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::in));
18662 SWIGINTERN
int Swig_var_ios_base_out_set(PyObject *) {
18663 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_out is read-only.");
18668 SWIGINTERN PyObject *Swig_var_ios_base_out_get(
void) {
18669 PyObject *pyobj = 0;
18671 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::out));
18676 SWIGINTERN
int Swig_var_ios_base_trunc_set(PyObject *) {
18677 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_trunc is read-only.");
18682 SWIGINTERN PyObject *Swig_var_ios_base_trunc_get(
void) {
18683 PyObject *pyobj = 0;
18685 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::trunc));
18690 SWIGINTERN
int Swig_var_ios_base_beg_set(PyObject *) {
18691 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_beg is read-only.");
18696 SWIGINTERN PyObject *Swig_var_ios_base_beg_get(
void) {
18697 PyObject *pyobj = 0;
18699 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::beg));
18704 SWIGINTERN
int Swig_var_ios_base_cur_set(PyObject *) {
18705 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_cur is read-only.");
18710 SWIGINTERN PyObject *Swig_var_ios_base_cur_get(
void) {
18711 PyObject *pyobj = 0;
18713 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::cur));
18718 SWIGINTERN
int Swig_var_ios_base_end_set(PyObject *) {
18719 SWIG_Error(SWIG_AttributeError,
"Variable ios_base_end is read-only.");
18724 SWIGINTERN PyObject *Swig_var_ios_base_end_get(
void) {
18725 PyObject *pyobj = 0;
18727 pyobj = SWIG_From_int(static_cast< int >(std::ios_base::end));
18732 SWIGINTERN PyObject *_wrap_ios_base_register_callback(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18733 PyObject *resultobj = 0;
18734 std::ios_base *arg1 = (std::ios_base *) 0 ;
18735 std::ios_base::event_callback arg2 = (std::ios_base::event_callback) 0 ;
18741 PyObject * obj0 = 0 ;
18742 PyObject * obj1 = 0 ;
18743 PyObject * obj2 = 0 ;
18745 if (!PyArg_ParseTuple(args,(
char *)
"OOO:ios_base_register_callback",&obj0,&obj1,&obj2)) SWIG_fail;
18746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
18747 if (!SWIG_IsOK(res1)) {
18748 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_register_callback" "', argument " "1"" of type '" "std::ios_base *""'");
18750 arg1 = reinterpret_cast< std::ios_base * >(argp1);
18752 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void);
18753 if (!SWIG_IsOK(res)) {
18754 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "ios_base_register_callback" "', argument " "2"" of type '" "std::ios_base::event_callback""'");
18757 ecode3 = SWIG_AsVal_int(obj2, &val3);
18758 if (!SWIG_IsOK(ecode3)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "ios_base_register_callback" "', argument " "3"" of type '" "int""'");
18761 arg3 = static_cast< int >(val3);
18762 (arg1)->register_callback(arg2,arg3);
18763 resultobj = SWIG_Py_Void();
18770 SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18771 PyObject *resultobj = 0;
18772 std::ios_base *arg1 = (std::ios_base *) 0 ;
18775 PyObject * obj0 = 0 ;
18776 std::ios_base::fmtflags result;
18778 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_base_flags",&obj0)) SWIG_fail;
18779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
18780 if (!SWIG_IsOK(res1)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_flags" "', argument " "1"" of type '" "std::ios_base const *""'");
18783 arg1 = reinterpret_cast< std::ios_base * >(argp1);
18784 result = (std::ios_base::fmtflags)((std::ios_base
const *)arg1)->flags();
18785 resultobj = SWIG_From_int(static_cast< int >(result));
18792 SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18793 PyObject *resultobj = 0;
18794 std::ios_base *arg1 = (std::ios_base *) 0 ;
18795 std::ios_base::fmtflags arg2 ;
18800 PyObject * obj0 = 0 ;
18801 PyObject * obj1 = 0 ;
18802 std::ios_base::fmtflags result;
18804 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_flags",&obj0,&obj1)) SWIG_fail;
18805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
18806 if (!SWIG_IsOK(res1)) {
18807 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_flags" "', argument " "1"" of type '" "std::ios_base *""'");
18809 arg1 = reinterpret_cast< std::ios_base * >(argp1);
18810 ecode2 = SWIG_AsVal_int(obj1, &val2);
18811 if (!SWIG_IsOK(ecode2)) {
18812 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_flags" "', argument " "2"" of type '" "std::ios_base::fmtflags""'");
18814 arg2 = static_cast< std::ios_base::fmtflags >(val2);
18815 result = (std::ios_base::fmtflags)(arg1)->flags(arg2);
18816 resultobj = SWIG_From_int(static_cast< int >(result));
18823 SWIGINTERN PyObject *_wrap_ios_base_flags(PyObject *
self, PyObject *args) {
18825 PyObject *argv[3] = {
18830 if (!PyTuple_Check(args)) SWIG_fail;
18831 argc = args ? PyObject_Length(args) : 0;
18832 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
18833 argv[ii] = PyTuple_GET_ITEM(args,ii);
18838 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
18839 _v = SWIG_CheckState(res);
18841 return _wrap_ios_base_flags__SWIG_0(
self, args);
18847 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
18848 _v = SWIG_CheckState(res);
18851 int res = SWIG_AsVal_int(argv[1], NULL);
18852 _v = SWIG_CheckState(res);
18855 return _wrap_ios_base_flags__SWIG_1(
self, args);
18861 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_base_flags'.\n"
18862 " Possible C/C++ prototypes are:\n"
18863 " std::ios_base::flags() const\n"
18864 " std::ios_base::flags(std::ios_base::fmtflags)\n");
18869 SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18870 PyObject *resultobj = 0;
18871 std::ios_base *arg1 = (std::ios_base *) 0 ;
18872 std::ios_base::fmtflags arg2 ;
18877 PyObject * obj0 = 0 ;
18878 PyObject * obj1 = 0 ;
18879 std::ios_base::fmtflags result;
18881 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_setf",&obj0,&obj1)) SWIG_fail;
18882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
18883 if (!SWIG_IsOK(res1)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_setf" "', argument " "1"" of type '" "std::ios_base *""'");
18886 arg1 = reinterpret_cast< std::ios_base * >(argp1);
18887 ecode2 = SWIG_AsVal_int(obj1, &val2);
18888 if (!SWIG_IsOK(ecode2)) {
18889 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_setf" "', argument " "2"" of type '" "std::ios_base::fmtflags""'");
18891 arg2 = static_cast< std::ios_base::fmtflags >(val2);
18892 result = (std::ios_base::fmtflags)(arg1)->setf(arg2);
18893 resultobj = SWIG_From_int(static_cast< int >(result));
18900 SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18901 PyObject *resultobj = 0;
18902 std::ios_base *arg1 = (std::ios_base *) 0 ;
18903 std::ios_base::fmtflags arg2 ;
18904 std::ios_base::fmtflags arg3 ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj1 = 0 ;
18913 PyObject * obj2 = 0 ;
18914 std::ios_base::fmtflags result;
18916 if (!PyArg_ParseTuple(args,(
char *)
"OOO:ios_base_setf",&obj0,&obj1,&obj2)) SWIG_fail;
18917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
18918 if (!SWIG_IsOK(res1)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_setf" "', argument " "1"" of type '" "std::ios_base *""'");
18921 arg1 = reinterpret_cast< std::ios_base * >(argp1);
18922 ecode2 = SWIG_AsVal_int(obj1, &val2);
18923 if (!SWIG_IsOK(ecode2)) {
18924 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_setf" "', argument " "2"" of type '" "std::ios_base::fmtflags""'");
18926 arg2 = static_cast< std::ios_base::fmtflags >(val2);
18927 ecode3 = SWIG_AsVal_int(obj2, &val3);
18928 if (!SWIG_IsOK(ecode3)) {
18929 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "ios_base_setf" "', argument " "3"" of type '" "std::ios_base::fmtflags""'");
18931 arg3 = static_cast< std::ios_base::fmtflags >(val3);
18932 result = (std::ios_base::fmtflags)(arg1)->setf(arg2,arg3);
18933 resultobj = SWIG_From_int(static_cast< int >(result));
18940 SWIGINTERN PyObject *_wrap_ios_base_setf(PyObject *
self, PyObject *args) {
18942 PyObject *argv[4] = {
18947 if (!PyTuple_Check(args)) SWIG_fail;
18948 argc = args ? PyObject_Length(args) : 0;
18949 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
18950 argv[ii] = PyTuple_GET_ITEM(args,ii);
18955 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
18956 _v = SWIG_CheckState(res);
18959 int res = SWIG_AsVal_int(argv[1], NULL);
18960 _v = SWIG_CheckState(res);
18963 return _wrap_ios_base_setf__SWIG_0(
self, args);
18970 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
18971 _v = SWIG_CheckState(res);
18974 int res = SWIG_AsVal_int(argv[1], NULL);
18975 _v = SWIG_CheckState(res);
18979 int res = SWIG_AsVal_int(argv[2], NULL);
18980 _v = SWIG_CheckState(res);
18983 return _wrap_ios_base_setf__SWIG_1(
self, args);
18990 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_base_setf'.\n"
18991 " Possible C/C++ prototypes are:\n"
18992 " std::ios_base::setf(std::ios_base::fmtflags)\n"
18993 " std::ios_base::setf(std::ios_base::fmtflags,std::ios_base::fmtflags)\n");
18998 SWIGINTERN PyObject *_wrap_ios_base_unsetf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
18999 PyObject *resultobj = 0;
19000 std::ios_base *arg1 = (std::ios_base *) 0 ;
19001 std::ios_base::fmtflags arg2 ;
19006 PyObject * obj0 = 0 ;
19007 PyObject * obj1 = 0 ;
19009 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_unsetf",&obj0,&obj1)) SWIG_fail;
19010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19011 if (!SWIG_IsOK(res1)) {
19012 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_unsetf" "', argument " "1"" of type '" "std::ios_base *""'");
19014 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19015 ecode2 = SWIG_AsVal_int(obj1, &val2);
19016 if (!SWIG_IsOK(ecode2)) {
19017 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_unsetf" "', argument " "2"" of type '" "std::ios_base::fmtflags""'");
19019 arg2 = static_cast< std::ios_base::fmtflags >(val2);
19020 (arg1)->unsetf(arg2);
19021 resultobj = SWIG_Py_Void();
19028 SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19029 PyObject *resultobj = 0;
19030 std::ios_base *arg1 = (std::ios_base *) 0 ;
19033 PyObject * obj0 = 0 ;
19034 std::streamsize result;
19036 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_base_precision",&obj0)) SWIG_fail;
19037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19038 if (!SWIG_IsOK(res1)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_precision" "', argument " "1"" of type '" "std::ios_base const *""'");
19041 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19042 result = ((std::ios_base
const *)arg1)->precision();
19043 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19050 SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19051 PyObject *resultobj = 0;
19052 std::ios_base *arg1 = (std::ios_base *) 0 ;
19053 std::streamsize arg2 ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 std::streamsize result;
19062 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_precision",&obj0,&obj1)) SWIG_fail;
19063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19064 if (!SWIG_IsOK(res1)) {
19065 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_precision" "', argument " "1"" of type '" "std::ios_base *""'");
19067 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19068 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19069 if (!SWIG_IsOK(ecode2)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_precision" "', argument " "2"" of type '" "std::streamsize""'");
19072 arg2 = static_cast< std::streamsize >(val2);
19073 result = (arg1)->precision(arg2);
19074 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19081 SWIGINTERN PyObject *_wrap_ios_base_precision(PyObject *
self, PyObject *args) {
19083 PyObject *argv[3] = {
19088 if (!PyTuple_Check(args)) SWIG_fail;
19089 argc = args ? PyObject_Length(args) : 0;
19090 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19091 argv[ii] = PyTuple_GET_ITEM(args,ii);
19096 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
19097 _v = SWIG_CheckState(res);
19099 return _wrap_ios_base_precision__SWIG_0(
self, args);
19105 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
19106 _v = SWIG_CheckState(res);
19109 int res = SWIG_AsVal_size_t(argv[1], NULL);
19110 _v = SWIG_CheckState(res);
19113 return _wrap_ios_base_precision__SWIG_1(
self, args);
19119 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_base_precision'.\n"
19120 " Possible C/C++ prototypes are:\n"
19121 " std::ios_base::precision() const\n"
19122 " std::ios_base::precision(std::streamsize)\n");
19127 SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19128 PyObject *resultobj = 0;
19129 std::ios_base *arg1 = (std::ios_base *) 0 ;
19132 PyObject * obj0 = 0 ;
19133 std::streamsize result;
19135 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_base_width",&obj0)) SWIG_fail;
19136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19137 if (!SWIG_IsOK(res1)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_width" "', argument " "1"" of type '" "std::ios_base const *""'");
19140 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19141 result = ((std::ios_base
const *)arg1)->width();
19142 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19149 SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19150 PyObject *resultobj = 0;
19151 std::ios_base *arg1 = (std::ios_base *) 0 ;
19152 std::streamsize arg2 ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 std::streamsize result;
19161 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_width",&obj0,&obj1)) SWIG_fail;
19162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19163 if (!SWIG_IsOK(res1)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_width" "', argument " "1"" of type '" "std::ios_base *""'");
19166 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19167 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19168 if (!SWIG_IsOK(ecode2)) {
19169 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_width" "', argument " "2"" of type '" "std::streamsize""'");
19171 arg2 = static_cast< std::streamsize >(val2);
19172 result = (arg1)->width(arg2);
19173 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19180 SWIGINTERN PyObject *_wrap_ios_base_width(PyObject *
self, PyObject *args) {
19182 PyObject *argv[3] = {
19187 if (!PyTuple_Check(args)) SWIG_fail;
19188 argc = args ? PyObject_Length(args) : 0;
19189 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19190 argv[ii] = PyTuple_GET_ITEM(args,ii);
19195 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
19196 _v = SWIG_CheckState(res);
19198 return _wrap_ios_base_width__SWIG_0(
self, args);
19204 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__ios_base, 0);
19205 _v = SWIG_CheckState(res);
19208 int res = SWIG_AsVal_size_t(argv[1], NULL);
19209 _v = SWIG_CheckState(res);
19212 return _wrap_ios_base_width__SWIG_1(
self, args);
19218 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_base_width'.\n"
19219 " Possible C/C++ prototypes are:\n"
19220 " std::ios_base::width() const\n"
19221 " std::ios_base::width(std::streamsize)\n");
19226 SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19227 PyObject *resultobj = 0;
19231 PyObject * obj0 = 0 ;
19234 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_base_sync_with_stdio",&obj0)) SWIG_fail;
19235 ecode1 = SWIG_AsVal_bool(obj0, &val1);
19236 if (!SWIG_IsOK(ecode1)) {
19237 SWIG_exception_fail(SWIG_ArgError(ecode1),
"in method '" "ios_base_sync_with_stdio" "', argument " "1"" of type '" "bool""'");
19239 arg1 = static_cast< bool >(val1);
19240 result = (bool)std::ios_base::sync_with_stdio(arg1);
19241 resultobj = SWIG_From_bool(static_cast< bool >(result));
19248 SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19249 PyObject *resultobj = 0;
19252 if (!PyArg_ParseTuple(args,(
char *)
":ios_base_sync_with_stdio")) SWIG_fail;
19253 result = (bool)std::ios_base::sync_with_stdio();
19254 resultobj = SWIG_From_bool(static_cast< bool >(result));
19261 SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio(PyObject *
self, PyObject *args) {
19263 PyObject *argv[2] = {
19268 if (!PyTuple_Check(args)) SWIG_fail;
19269 argc = args ? PyObject_Length(args) : 0;
19270 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
19271 argv[ii] = PyTuple_GET_ITEM(args,ii);
19274 return _wrap_ios_base_sync_with_stdio__SWIG_1(
self, args);
19279 int res = SWIG_AsVal_bool(argv[0], NULL);
19280 _v = SWIG_CheckState(res);
19283 return _wrap_ios_base_sync_with_stdio__SWIG_0(
self, args);
19288 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_base_sync_with_stdio'.\n"
19289 " Possible C/C++ prototypes are:\n"
19290 " std::ios_base::sync_with_stdio(bool)\n"
19291 " std::ios_base::sync_with_stdio()\n");
19296 SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19297 PyObject *resultobj = 0;
19298 std::ios_base *arg1 = (std::ios_base *) 0 ;
19299 std::locale *arg2 = 0 ;
19304 PyObject * obj0 = 0 ;
19305 PyObject * obj1 = 0 ;
19306 std::locale result;
19308 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_imbue",&obj0,&obj1)) SWIG_fail;
19309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19310 if (!SWIG_IsOK(res1)) {
19311 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_imbue" "', argument " "1"" of type '" "std::ios_base *""'");
19313 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19314 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__locale, 0 | 0);
19315 if (!SWIG_IsOK(res2)) {
19316 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ios_base_imbue" "', argument " "2"" of type '" "std::locale const &""'");
19319 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ios_base_imbue" "', argument " "2"" of type '" "std::locale const &""'");
19321 arg2 = reinterpret_cast< std::locale * >(argp2);
19322 result = (arg1)->imbue((std::locale
const &)*arg2);
19323 resultobj = SWIG_NewPointerObj((
new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 );
19330 SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19331 PyObject *resultobj = 0;
19332 std::ios_base *arg1 = (std::ios_base *) 0 ;
19335 PyObject * obj0 = 0 ;
19336 std::locale result;
19338 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_base_getloc",&obj0)) SWIG_fail;
19339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19340 if (!SWIG_IsOK(res1)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_getloc" "', argument " "1"" of type '" "std::ios_base const *""'");
19343 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19344 result = ((std::ios_base
const *)arg1)->getloc();
19345 resultobj = SWIG_NewPointerObj((
new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 );
19352 SWIGINTERN PyObject *_wrap_ios_base_xalloc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19353 PyObject *resultobj = 0;
19356 if (!PyArg_ParseTuple(args,(
char *)
":ios_base_xalloc")) SWIG_fail;
19357 result = (int)std::ios_base::xalloc();
19358 resultobj = SWIG_From_int(static_cast< int >(result));
19365 SWIGINTERN PyObject *_wrap_ios_base_iword(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19366 PyObject *resultobj = 0;
19367 std::ios_base *arg1 = (std::ios_base *) 0 ;
19373 PyObject * obj0 = 0 ;
19374 PyObject * obj1 = 0 ;
19377 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_iword",&obj0,&obj1)) SWIG_fail;
19378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19379 if (!SWIG_IsOK(res1)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_iword" "', argument " "1"" of type '" "std::ios_base *""'");
19382 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19383 ecode2 = SWIG_AsVal_int(obj1, &val2);
19384 if (!SWIG_IsOK(ecode2)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_iword" "', argument " "2"" of type '" "int""'");
19387 arg2 = static_cast< int >(val2);
19388 result = (
long *) &(arg1)->iword(arg2);
19389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_long, 0 | 0 );
19396 SWIGINTERN PyObject *_wrap_ios_base_pword(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19397 PyObject *resultobj = 0;
19398 std::ios_base *arg1 = (std::ios_base *) 0 ;
19404 PyObject * obj0 = 0 ;
19405 PyObject * obj1 = 0 ;
19406 void **result = 0 ;
19408 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_base_pword",&obj0,&obj1)) SWIG_fail;
19409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 );
19410 if (!SWIG_IsOK(res1)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_base_pword" "', argument " "1"" of type '" "std::ios_base *""'");
19413 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19414 ecode2 = SWIG_AsVal_int(obj1, &val2);
19415 if (!SWIG_IsOK(ecode2)) {
19416 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_base_pword" "', argument " "2"" of type '" "int""'");
19418 arg2 = static_cast< int >(val2);
19419 result = (
void **) &(arg1)->pword(arg2);
19420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_void, 0 | 0 );
19427 SWIGINTERN PyObject *_wrap_delete_ios_base(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19428 PyObject *resultobj = 0;
19429 std::ios_base *arg1 = (std::ios_base *) 0 ;
19432 PyObject * obj0 = 0 ;
19434 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_ios_base",&obj0)) SWIG_fail;
19435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__ios_base, SWIG_POINTER_DISOWN | 0 );
19436 if (!SWIG_IsOK(res1)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_ios_base" "', argument " "1"" of type '" "std::ios_base *""'");
19439 arg1 = reinterpret_cast< std::ios_base * >(argp1);
19441 resultobj = SWIG_Py_Void();
19448 SWIGINTERN PyObject *ios_base_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19450 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
19451 SWIG_TypeNewClientData(SWIGTYPE_p_std__ios_base, SWIG_NewClientData(obj));
19452 return SWIG_Py_Void();
19455 SWIGINTERN PyObject *_wrap_ios_rdstate(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19456 PyObject *resultobj = 0;
19457 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19460 PyObject * obj0 = 0 ;
19461 std::ios_base::iostate result;
19463 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_rdstate",&obj0)) SWIG_fail;
19464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19465 if (!SWIG_IsOK(res1)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_rdstate" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19468 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19469 result = (std::ios_base::iostate)((std::basic_ios< char >
const *)arg1)->rdstate();
19470 resultobj = SWIG_From_int(static_cast< int >(result));
19477 SWIGINTERN PyObject *_wrap_ios_clear__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19478 PyObject *resultobj = 0;
19479 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19480 std::ios_base::iostate arg2 ;
19485 PyObject * obj0 = 0 ;
19486 PyObject * obj1 = 0 ;
19488 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_clear",&obj0,&obj1)) SWIG_fail;
19489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19490 if (!SWIG_IsOK(res1)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_clear" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19493 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19494 ecode2 = SWIG_AsVal_int(obj1, &val2);
19495 if (!SWIG_IsOK(ecode2)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_clear" "', argument " "2"" of type '" "std::ios_base::iostate""'");
19498 arg2 = static_cast< std::ios_base::iostate >(val2);
19499 (arg1)->clear(arg2);
19500 resultobj = SWIG_Py_Void();
19507 SWIGINTERN PyObject *_wrap_ios_clear__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19508 PyObject *resultobj = 0;
19509 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19512 PyObject * obj0 = 0 ;
19514 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_clear",&obj0)) SWIG_fail;
19515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19516 if (!SWIG_IsOK(res1)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_clear" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19519 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19521 resultobj = SWIG_Py_Void();
19528 SWIGINTERN PyObject *_wrap_ios_clear(PyObject *
self, PyObject *args) {
19530 PyObject *argv[3] = {
19535 if (!PyTuple_Check(args)) SWIG_fail;
19536 argc = args ? PyObject_Length(args) : 0;
19537 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19538 argv[ii] = PyTuple_GET_ITEM(args,ii);
19543 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19544 _v = SWIG_CheckState(res);
19546 return _wrap_ios_clear__SWIG_1(
self, args);
19552 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19553 _v = SWIG_CheckState(res);
19556 int res = SWIG_AsVal_int(argv[1], NULL);
19557 _v = SWIG_CheckState(res);
19560 return _wrap_ios_clear__SWIG_0(
self, args);
19566 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_clear'.\n"
19567 " Possible C/C++ prototypes are:\n"
19568 " std::basic_ios< char >::clear(std::ios_base::iostate)\n"
19569 " std::basic_ios< char >::clear()\n");
19574 SWIGINTERN PyObject *_wrap_ios_setstate(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19575 PyObject *resultobj = 0;
19576 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19577 std::ios_base::iostate arg2 ;
19582 PyObject * obj0 = 0 ;
19583 PyObject * obj1 = 0 ;
19585 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_setstate",&obj0,&obj1)) SWIG_fail;
19586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19587 if (!SWIG_IsOK(res1)) {
19588 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_setstate" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19590 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19591 ecode2 = SWIG_AsVal_int(obj1, &val2);
19592 if (!SWIG_IsOK(ecode2)) {
19593 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_setstate" "', argument " "2"" of type '" "std::ios_base::iostate""'");
19595 arg2 = static_cast< std::ios_base::iostate >(val2);
19596 (arg1)->setstate(arg2);
19597 resultobj = SWIG_Py_Void();
19604 SWIGINTERN PyObject *_wrap_ios_good(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19605 PyObject *resultobj = 0;
19606 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19609 PyObject * obj0 = 0 ;
19612 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_good",&obj0)) SWIG_fail;
19613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19614 if (!SWIG_IsOK(res1)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_good" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19617 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19618 result = (bool)((std::basic_ios< char >
const *)arg1)->good();
19619 resultobj = SWIG_From_bool(static_cast< bool >(result));
19626 SWIGINTERN PyObject *_wrap_ios_eof(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19627 PyObject *resultobj = 0;
19628 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19631 PyObject * obj0 = 0 ;
19634 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_eof",&obj0)) SWIG_fail;
19635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19636 if (!SWIG_IsOK(res1)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_eof" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19639 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19640 result = (bool)((std::basic_ios< char >
const *)arg1)->eof();
19641 resultobj = SWIG_From_bool(static_cast< bool >(result));
19648 SWIGINTERN PyObject *_wrap_ios_fail(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19649 PyObject *resultobj = 0;
19650 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19653 PyObject * obj0 = 0 ;
19656 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_fail",&obj0)) SWIG_fail;
19657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19658 if (!SWIG_IsOK(res1)) {
19659 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_fail" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19661 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19662 result = (bool)((std::basic_ios< char >
const *)arg1)->fail();
19663 resultobj = SWIG_From_bool(static_cast< bool >(result));
19670 SWIGINTERN PyObject *_wrap_ios_bad(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19671 PyObject *resultobj = 0;
19672 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19675 PyObject * obj0 = 0 ;
19678 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_bad",&obj0)) SWIG_fail;
19679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19680 if (!SWIG_IsOK(res1)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_bad" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19683 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19684 result = (bool)((std::basic_ios< char >
const *)arg1)->bad();
19685 resultobj = SWIG_From_bool(static_cast< bool >(result));
19692 SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19693 PyObject *resultobj = 0;
19694 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19697 PyObject * obj0 = 0 ;
19698 std::ios_base::iostate result;
19700 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_exceptions",&obj0)) SWIG_fail;
19701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19702 if (!SWIG_IsOK(res1)) {
19703 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_exceptions" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19705 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19706 result = (std::ios_base::iostate)((std::basic_ios< char >
const *)arg1)->exceptions();
19707 resultobj = SWIG_From_int(static_cast< int >(result));
19714 SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19715 PyObject *resultobj = 0;
19716 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19717 std::ios_base::iostate arg2 ;
19722 PyObject * obj0 = 0 ;
19723 PyObject * obj1 = 0 ;
19725 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_exceptions",&obj0,&obj1)) SWIG_fail;
19726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19727 if (!SWIG_IsOK(res1)) {
19728 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_exceptions" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19730 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19731 ecode2 = SWIG_AsVal_int(obj1, &val2);
19732 if (!SWIG_IsOK(ecode2)) {
19733 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_exceptions" "', argument " "2"" of type '" "std::ios_base::iostate""'");
19735 arg2 = static_cast< std::ios_base::iostate >(val2);
19736 (arg1)->exceptions(arg2);
19737 resultobj = SWIG_Py_Void();
19744 SWIGINTERN PyObject *_wrap_ios_exceptions(PyObject *
self, PyObject *args) {
19746 PyObject *argv[3] = {
19751 if (!PyTuple_Check(args)) SWIG_fail;
19752 argc = args ? PyObject_Length(args) : 0;
19753 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19754 argv[ii] = PyTuple_GET_ITEM(args,ii);
19759 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19760 _v = SWIG_CheckState(res);
19762 return _wrap_ios_exceptions__SWIG_0(
self, args);
19768 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19769 _v = SWIG_CheckState(res);
19772 int res = SWIG_AsVal_int(argv[1], NULL);
19773 _v = SWIG_CheckState(res);
19776 return _wrap_ios_exceptions__SWIG_1(
self, args);
19782 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_exceptions'.\n"
19783 " Possible C/C++ prototypes are:\n"
19784 " std::basic_ios< char >::exceptions() const\n"
19785 " std::basic_ios< char >::exceptions(std::ios_base::iostate)\n");
19790 SWIGINTERN PyObject *_wrap_new_ios(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19791 PyObject *resultobj = 0;
19792 std::basic_streambuf< char,std::char_traits< char > > *arg1 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
19795 PyObject * obj0 = 0 ;
19796 std::basic_ios< char > *result = 0 ;
19798 if (!PyArg_ParseTuple(args,(
char *)
"O:new_ios",&obj0)) SWIG_fail;
19799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
19800 if (!SWIG_IsOK(res1)) {
19801 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_ios" "', argument " "1"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
19803 arg1 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp1);
19804 result = (std::basic_ios< char > *)
new std::basic_ios< char >(arg1);
19805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NEW | 0 );
19812 SWIGINTERN PyObject *_wrap_delete_ios(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19813 PyObject *resultobj = 0;
19814 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19817 PyObject * obj0 = 0 ;
19819 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_ios",&obj0)) SWIG_fail;
19820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 );
19821 if (!SWIG_IsOK(res1)) {
19822 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_ios" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19824 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19826 resultobj = SWIG_Py_Void();
19833 SWIGINTERN PyObject *_wrap_ios_tie__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19834 PyObject *resultobj = 0;
19835 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19838 PyObject * obj0 = 0 ;
19839 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
19841 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_tie",&obj0)) SWIG_fail;
19842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19843 if (!SWIG_IsOK(res1)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_tie" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19846 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19847 result = (std::basic_ostream< char,std::char_traits< char > > *)((std::basic_ios< char >
const *)arg1)->tie();
19848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
19855 SWIGINTERN PyObject *_wrap_ios_tie__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19856 PyObject *resultobj = 0;
19857 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19858 std::basic_ostream< char,std::char_traits< char > > *arg2 = (std::basic_ostream< char,std::char_traits< char > > *) 0 ;
19863 PyObject * obj0 = 0 ;
19864 PyObject * obj1 = 0 ;
19865 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
19867 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_tie",&obj0,&obj1)) SWIG_fail;
19868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19869 if (!SWIG_IsOK(res1)) {
19870 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_tie" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19872 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
19874 if (!SWIG_IsOK(res2)) {
19875 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ios_tie" "', argument " "2"" of type '" "std::basic_ostream< char,std::char_traits< char > > *""'");
19877 arg2 =
reinterpret_cast< std::basic_ostream< char,std::char_traits< char >
> * >(argp2);
19878 result = (std::basic_ostream< char,std::char_traits< char > > *)(arg1)->tie(arg2);
19879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
19886 SWIGINTERN PyObject *_wrap_ios_tie(PyObject *
self, PyObject *args) {
19888 PyObject *argv[3] = {
19893 if (!PyTuple_Check(args)) SWIG_fail;
19894 argc = args ? PyObject_Length(args) : 0;
19895 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19896 argv[ii] = PyTuple_GET_ITEM(args,ii);
19901 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19902 _v = SWIG_CheckState(res);
19904 return _wrap_ios_tie__SWIG_0(
self, args);
19910 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
19911 _v = SWIG_CheckState(res);
19914 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
19915 _v = SWIG_CheckState(res);
19917 return _wrap_ios_tie__SWIG_1(
self, args);
19923 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_tie'.\n"
19924 " Possible C/C++ prototypes are:\n"
19925 " std::basic_ios< char >::tie() const\n"
19926 " std::basic_ios< char >::tie(std::basic_ostream< char,std::char_traits< char > > *)\n");
19931 SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19932 PyObject *resultobj = 0;
19933 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19936 PyObject * obj0 = 0 ;
19937 std::basic_streambuf< char,std::char_traits< char > > *result = 0 ;
19939 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_rdbuf",&obj0)) SWIG_fail;
19940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19941 if (!SWIG_IsOK(res1)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_rdbuf" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
19944 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19945 result = (std::basic_streambuf< char,std::char_traits< char > > *)((std::basic_ios< char >
const *)arg1)->rdbuf();
19946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
19953 SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
19954 PyObject *resultobj = 0;
19955 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
19956 std::basic_streambuf< char,std::char_traits< char > > *arg2 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
19961 PyObject * obj0 = 0 ;
19962 PyObject * obj1 = 0 ;
19963 std::basic_streambuf< char,std::char_traits< char > > *result = 0 ;
19965 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_rdbuf",&obj0,&obj1)) SWIG_fail;
19966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
19967 if (!SWIG_IsOK(res1)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_rdbuf" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
19970 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
19971 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
19972 if (!SWIG_IsOK(res2)) {
19973 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ios_rdbuf" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
19975 arg2 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp2);
19976 result = (std::basic_streambuf< char,std::char_traits< char > > *)(arg1)->rdbuf(arg2);
19977 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
19984 SWIGINTERN PyObject *_wrap_ios_rdbuf(PyObject *
self, PyObject *args) {
19986 PyObject *argv[3] = {
19991 if (!PyTuple_Check(args)) SWIG_fail;
19992 argc = args ? PyObject_Length(args) : 0;
19993 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
19994 argv[ii] = PyTuple_GET_ITEM(args,ii);
19999 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
20000 _v = SWIG_CheckState(res);
20002 return _wrap_ios_rdbuf__SWIG_0(
self, args);
20008 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
20009 _v = SWIG_CheckState(res);
20012 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
20013 _v = SWIG_CheckState(res);
20015 return _wrap_ios_rdbuf__SWIG_1(
self, args);
20021 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_rdbuf'.\n"
20022 " Possible C/C++ prototypes are:\n"
20023 " std::basic_ios< char >::rdbuf() const\n"
20024 " std::basic_ios< char >::rdbuf(std::basic_streambuf< char,std::char_traits< char > > *)\n");
20029 SWIGINTERN PyObject *_wrap_ios_copyfmt(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20030 PyObject *resultobj = 0;
20031 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20032 std::basic_ios< char > *arg2 = 0 ;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 std::basic_ios< char > *result = 0 ;
20041 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_copyfmt",&obj0,&obj1)) SWIG_fail;
20042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20043 if (!SWIG_IsOK(res1)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_copyfmt" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
20046 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20047 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0);
20048 if (!SWIG_IsOK(res2)) {
20049 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ios_copyfmt" "', argument " "2"" of type '" "std::basic_ios< char > const &""'");
20052 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ios_copyfmt" "', argument " "2"" of type '" "std::basic_ios< char > const &""'");
20054 arg2 =
reinterpret_cast< std::basic_ios< char > *
>(argp2);
20055 result = (std::basic_ios< char > *) &(arg1)->copyfmt((std::basic_ios< char >
const &)*arg2);
20056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20063 SWIGINTERN PyObject *_wrap_ios_fill__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20064 PyObject *resultobj = 0;
20065 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20068 PyObject * obj0 = 0 ;
20069 std::basic_ios< char >::char_type result;
20071 if (!PyArg_ParseTuple(args,(
char *)
"O:ios_fill",&obj0)) SWIG_fail;
20072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20073 if (!SWIG_IsOK(res1)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_fill" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
20076 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20077 result = (std::basic_ios< char >::char_type)((std::basic_ios< char >
const *)arg1)->fill();
20078 resultobj = SWIG_From_char(static_cast< char >(result));
20085 SWIGINTERN PyObject *_wrap_ios_fill__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20086 PyObject *resultobj = 0;
20087 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20088 std::basic_ios< char >::char_type arg2 ;
20093 PyObject * obj0 = 0 ;
20094 PyObject * obj1 = 0 ;
20095 std::basic_ios< char >::char_type result;
20097 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_fill",&obj0,&obj1)) SWIG_fail;
20098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20099 if (!SWIG_IsOK(res1)) {
20100 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_fill" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
20102 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20103 ecode2 = SWIG_AsVal_char(obj1, &val2);
20104 if (!SWIG_IsOK(ecode2)) {
20105 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_fill" "', argument " "2"" of type '" "std::basic_ios< char >::char_type""'");
20107 arg2 =
static_cast< std::basic_ios< char >::char_type
>(val2);
20108 result = (std::basic_ios< char >::char_type)(arg1)->fill(arg2);
20109 resultobj = SWIG_From_char(static_cast< char >(result));
20116 SWIGINTERN PyObject *_wrap_ios_fill(PyObject *
self, PyObject *args) {
20118 PyObject *argv[3] = {
20123 if (!PyTuple_Check(args)) SWIG_fail;
20124 argc = args ? PyObject_Length(args) : 0;
20125 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
20126 argv[ii] = PyTuple_GET_ITEM(args,ii);
20131 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
20132 _v = SWIG_CheckState(res);
20134 return _wrap_ios_fill__SWIG_0(
self, args);
20140 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0);
20141 _v = SWIG_CheckState(res);
20144 int res = SWIG_AsVal_char(argv[1], NULL);
20145 _v = SWIG_CheckState(res);
20148 return _wrap_ios_fill__SWIG_1(
self, args);
20154 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ios_fill'.\n"
20155 " Possible C/C++ prototypes are:\n"
20156 " std::basic_ios< char >::fill() const\n"
20157 " std::basic_ios< char >::fill(std::basic_ios< char >::char_type)\n");
20162 SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20163 PyObject *resultobj = 0;
20164 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20165 std::locale *arg2 = 0 ;
20170 PyObject * obj0 = 0 ;
20171 PyObject * obj1 = 0 ;
20172 std::locale result;
20174 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_imbue",&obj0,&obj1)) SWIG_fail;
20175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20176 if (!SWIG_IsOK(res1)) {
20177 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_imbue" "', argument " "1"" of type '" "std::basic_ios< char > *""'");
20179 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20180 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__locale, 0 | 0);
20181 if (!SWIG_IsOK(res2)) {
20182 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ios_imbue" "', argument " "2"" of type '" "std::locale const &""'");
20185 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ios_imbue" "', argument " "2"" of type '" "std::locale const &""'");
20187 arg2 = reinterpret_cast< std::locale * >(argp2);
20188 result = (arg1)->imbue((std::locale
const &)*arg2);
20189 resultobj = SWIG_NewPointerObj((
new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 );
20196 SWIGINTERN PyObject *_wrap_ios_narrow(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20197 PyObject *resultobj = 0;
20198 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20199 std::basic_ios< char >::char_type arg2 ;
20207 PyObject * obj0 = 0 ;
20208 PyObject * obj1 = 0 ;
20209 PyObject * obj2 = 0 ;
20212 if (!PyArg_ParseTuple(args,(
char *)
"OOO:ios_narrow",&obj0,&obj1,&obj2)) SWIG_fail;
20213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20214 if (!SWIG_IsOK(res1)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_narrow" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
20217 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20218 ecode2 = SWIG_AsVal_char(obj1, &val2);
20219 if (!SWIG_IsOK(ecode2)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_narrow" "', argument " "2"" of type '" "std::basic_ios< char >::char_type""'");
20222 arg2 =
static_cast< std::basic_ios< char >::char_type
>(val2);
20223 ecode3 = SWIG_AsVal_char(obj2, &val3);
20224 if (!SWIG_IsOK(ecode3)) {
20225 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "ios_narrow" "', argument " "3"" of type '" "char""'");
20227 arg3 = static_cast< char >(val3);
20228 result = (char)((std::basic_ios< char >
const *)arg1)->narrow(arg2,arg3);
20229 resultobj = SWIG_From_char(static_cast< char >(result));
20236 SWIGINTERN PyObject *_wrap_ios_widen(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20237 PyObject *resultobj = 0;
20238 std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ;
20244 PyObject * obj0 = 0 ;
20245 PyObject * obj1 = 0 ;
20246 std::basic_ios< char >::char_type result;
20248 if (!PyArg_ParseTuple(args,(
char *)
"OO:ios_widen",&obj0,&obj1)) SWIG_fail;
20249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 );
20250 if (!SWIG_IsOK(res1)) {
20251 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ios_widen" "', argument " "1"" of type '" "std::basic_ios< char > const *""'");
20253 arg1 =
reinterpret_cast< std::basic_ios< char > *
>(argp1);
20254 ecode2 = SWIG_AsVal_char(obj1, &val2);
20255 if (!SWIG_IsOK(ecode2)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ios_widen" "', argument " "2"" of type '" "char""'");
20258 arg2 = static_cast< char >(val2);
20259 result = (std::basic_ios< char >::char_type)((std::basic_ios< char >
const *)arg1)->widen(arg2);
20260 resultobj = SWIG_From_char(static_cast< char >(result));
20267 SWIGINTERN PyObject *ios_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20269 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
20270 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_NewClientData(obj));
20271 return SWIG_Py_Void();
20274 SWIGINTERN
int Swig_var_cin_set(PyObject *) {
20275 SWIG_Error(SWIG_AttributeError,
"Variable cin is read-only.");
20280 SWIGINTERN PyObject *Swig_var_cin_get(
void) {
20281 PyObject *pyobj = 0;
20283 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&std::cin), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 );
20288 SWIGINTERN
int Swig_var_cout_set(PyObject *) {
20289 SWIG_Error(SWIG_AttributeError,
"Variable cout is read-only.");
20294 SWIGINTERN PyObject *Swig_var_cout_get(
void) {
20295 PyObject *pyobj = 0;
20297 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&std::cout), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
20302 SWIGINTERN
int Swig_var_cerr_set(PyObject *) {
20303 SWIG_Error(SWIG_AttributeError,
"Variable cerr is read-only.");
20308 SWIGINTERN PyObject *Swig_var_cerr_get(
void) {
20309 PyObject *pyobj = 0;
20311 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&std::cerr), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
20316 SWIGINTERN
int Swig_var_clog_set(PyObject *) {
20317 SWIG_Error(SWIG_AttributeError,
"Variable clog is read-only.");
20322 SWIGINTERN PyObject *Swig_var_clog_get(
void) {
20323 PyObject *pyobj = 0;
20325 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&std::clog), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
20330 SWIGINTERN PyObject *_wrap_new_ostream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20331 PyObject *resultobj = 0;
20332 std::basic_streambuf< char,std::char_traits< char > > *arg1 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
20335 PyObject * obj0 = 0 ;
20336 std::basic_ostream< char > *result = 0 ;
20338 if (!PyArg_ParseTuple(args,(
char *)
"O:new_ostream",&obj0)) SWIG_fail;
20339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
20340 if (!SWIG_IsOK(res1)) {
20341 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_ostream" "', argument " "1"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
20343 arg1 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp1);
20344 result = (std::basic_ostream< char > *)
new std::basic_ostream< char >(arg1);
20345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NEW | 0 );
20352 SWIGINTERN PyObject *_wrap_delete_ostream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20353 PyObject *resultobj = 0;
20354 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20357 PyObject * obj0 = 0 ;
20359 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_ostream",&obj0)) SWIG_fail;
20360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 );
20361 if (!SWIG_IsOK(res1)) {
20362 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_ostream" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20364 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20366 resultobj = SWIG_Py_Void();
20373 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20374 PyObject *resultobj = 0;
20375 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20376 std::basic_ostream< char,std::char_traits< char > > &(*arg2)(std::basic_ostream< char,std::char_traits< char > > &) = (std::basic_ostream<
char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) 0 ;
20379 PyObject * obj0 = 0 ;
20380 PyObject * obj1 = 0 ;
20381 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20383 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20385 if (!SWIG_IsOK(res1)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20388 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20390 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t);
20391 if (!SWIG_IsOK(res)) {
20392 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)""'");
20395 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20403 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20404 PyObject *resultobj = 0;
20405 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20406 std::basic_ios< char,std::char_traits< char > > &(*arg2)(std::basic_ios< char,std::char_traits< char > > &) = (std::basic_ios<
char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) 0 ;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20413 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20415 if (!SWIG_IsOK(res1)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20418 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20420 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t);
20421 if (!SWIG_IsOK(res)) {
20422 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)""'");
20425 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20433 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20434 PyObject *resultobj = 0;
20435 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20436 std::ios_base &(*arg2)(std::ios_base &) = (std::ios_base &(*)(std::ios_base &)) 0 ;
20439 PyObject * obj0 = 0 ;
20440 PyObject * obj1 = 0 ;
20441 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20443 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20445 if (!SWIG_IsOK(res1)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20448 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20450 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base);
20451 if (!SWIG_IsOK(res)) {
20452 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::ios_base &(*)(std::ios_base &)""'");
20455 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20463 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20464 PyObject *resultobj = 0;
20465 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20471 PyObject * obj0 = 0 ;
20472 PyObject * obj1 = 0 ;
20473 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20475 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20477 if (!SWIG_IsOK(res1)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20480 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20481 ecode2 = SWIG_AsVal_long(obj1, &val2);
20482 if (!SWIG_IsOK(ecode2)) {
20483 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "long""'");
20485 arg2 = static_cast< long >(val2);
20486 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20487 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20494 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_4(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20495 PyObject *resultobj = 0;
20496 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20497 unsigned long arg2 ;
20500 unsigned long val2 ;
20502 PyObject * obj0 = 0 ;
20503 PyObject * obj1 = 0 ;
20504 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20506 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20508 if (!SWIG_IsOK(res1)) {
20509 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20511 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20512 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
20513 if (!SWIG_IsOK(ecode2)) {
20514 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "unsigned long""'");
20516 arg2 = static_cast< unsigned long >(val2);
20517 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20518 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20525 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_5(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20526 PyObject *resultobj = 0;
20527 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20533 PyObject * obj0 = 0 ;
20534 PyObject * obj1 = 0 ;
20535 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20537 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20539 if (!SWIG_IsOK(res1)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20542 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20543 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20544 if (!SWIG_IsOK(ecode2)) {
20545 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "bool""'");
20547 arg2 = static_cast< bool >(val2);
20548 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20556 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_6(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20557 PyObject *resultobj = 0;
20558 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20564 PyObject * obj0 = 0 ;
20565 PyObject * obj1 = 0 ;
20566 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20568 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20570 if (!SWIG_IsOK(res1)) {
20571 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20573 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20574 ecode2 = SWIG_AsVal_short(obj1, &val2);
20575 if (!SWIG_IsOK(ecode2)) {
20576 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "short""'");
20578 arg2 = static_cast< short >(val2);
20579 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20587 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_7(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20588 PyObject *resultobj = 0;
20589 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20590 unsigned short arg2 ;
20593 unsigned short val2 ;
20595 PyObject * obj0 = 0 ;
20596 PyObject * obj1 = 0 ;
20597 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20599 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20601 if (!SWIG_IsOK(res1)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20604 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20605 ecode2 = SWIG_AsVal_unsigned_SS_short(obj1, &val2);
20606 if (!SWIG_IsOK(ecode2)) {
20607 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "unsigned short""'");
20609 arg2 = static_cast< unsigned short >(val2);
20610 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20618 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_8(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20619 PyObject *resultobj = 0;
20620 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20626 PyObject * obj0 = 0 ;
20627 PyObject * obj1 = 0 ;
20628 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20630 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20632 if (!SWIG_IsOK(res1)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20635 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20636 ecode2 = SWIG_AsVal_int(obj1, &val2);
20637 if (!SWIG_IsOK(ecode2)) {
20638 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "int""'");
20640 arg2 = static_cast< int >(val2);
20641 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20649 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_9(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20650 PyObject *resultobj = 0;
20651 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20652 unsigned int arg2 ;
20655 unsigned int val2 ;
20657 PyObject * obj0 = 0 ;
20658 PyObject * obj1 = 0 ;
20659 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20661 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20663 if (!SWIG_IsOK(res1)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20666 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20667 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
20668 if (!SWIG_IsOK(ecode2)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "unsigned int""'");
20671 arg2 = static_cast< unsigned int >(val2);
20672 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20680 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_10(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20681 PyObject *resultobj = 0;
20682 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20688 PyObject * obj0 = 0 ;
20689 PyObject * obj1 = 0 ;
20690 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20692 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20694 if (!SWIG_IsOK(res1)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20697 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20698 ecode2 = SWIG_AsVal_long_SS_long(obj1, &val2);
20699 if (!SWIG_IsOK(ecode2)) {
20700 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "long long""'");
20702 arg2 = static_cast< long long >(val2);
20703 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20711 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_11(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20712 PyObject *resultobj = 0;
20713 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20714 unsigned long long arg2 ;
20717 unsigned long long val2 ;
20719 PyObject * obj0 = 0 ;
20720 PyObject * obj1 = 0 ;
20721 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20723 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20725 if (!SWIG_IsOK(res1)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20728 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20729 ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(obj1, &val2);
20730 if (!SWIG_IsOK(ecode2)) {
20731 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "unsigned long long""'");
20733 arg2 = static_cast< unsigned long long >(val2);
20734 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20742 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_12(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20743 PyObject *resultobj = 0;
20744 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20750 PyObject * obj0 = 0 ;
20751 PyObject * obj1 = 0 ;
20752 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20754 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20756 if (!SWIG_IsOK(res1)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20759 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20760 ecode2 = SWIG_AsVal_double(obj1, &val2);
20761 if (!SWIG_IsOK(ecode2)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "double""'");
20764 arg2 = static_cast< double >(val2);
20765 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20773 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_13(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20774 PyObject *resultobj = 0;
20775 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20785 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20787 if (!SWIG_IsOK(res1)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20790 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20791 ecode2 = SWIG_AsVal_float(obj1, &val2);
20792 if (!SWIG_IsOK(ecode2)) {
20793 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "float""'");
20795 arg2 = static_cast< float >(val2);
20796 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20804 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_14(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20805 PyObject *resultobj = 0;
20806 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20816 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20818 if (!SWIG_IsOK(res1)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20821 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20823 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_long_double, 0 | 0);
20824 if (!SWIG_IsOK(res2)) {
20825 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "long double""'");
20828 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ostream___lshift__" "', argument " "2"" of type '" "long double""'");
20830 long double * temp = reinterpret_cast< long double * >(argp2);
20832 if (SWIG_IsNewObj(res2))
delete temp;
20835 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20843 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_15(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20844 PyObject *resultobj = 0;
20845 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20846 void *arg2 = (
void *) 0 ;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20854 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20856 if (!SWIG_IsOK(res1)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20859 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20860 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
20861 if (!SWIG_IsOK(res2)) {
20862 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "void const *""'");
20864 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<((
void const *)arg2);
20865 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20872 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_16(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20873 PyObject *resultobj = 0;
20874 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20875 std::basic_streambuf< char,std::char_traits< char > > *arg2 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20884 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20886 if (!SWIG_IsOK(res1)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20889 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
20891 if (!SWIG_IsOK(res2)) {
20892 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
20894 arg2 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp2);
20895 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->operator <<(arg2);
20896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20903 SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_17(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
20904 PyObject *resultobj = 0;
20905 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
20906 std::basic_string< char,std::char_traits< char >,std::allocator< char > > *arg2 = 0 ;
20911 PyObject * obj0 = 0 ;
20912 PyObject * obj1 = 0 ;
20913 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
20915 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream___lshift__",&obj0,&obj1)) SWIG_fail;
20916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20917 if (!SWIG_IsOK(res1)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream___lshift__" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
20920 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
20921 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
20922 if (!SWIG_IsOK(res2)) {
20923 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
20926 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ostream___lshift__" "', argument " "2"" of type '" "std::basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
20928 arg2 =
reinterpret_cast< std::basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp2);
20929 result = (std::basic_ostream< char,std::char_traits< char > > *) &std_basic_ostream_Sl_char_Sg__operator_Sl__Sl___SWIG_17(arg1,(std::basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg2);
20930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
20937 SWIGINTERN PyObject *_wrap_ostream___lshift__(PyObject *
self, PyObject *args) {
20939 PyObject *argv[3] = {
20944 if (!PyTuple_Check(args)) SWIG_fail;
20945 argc = args ? PyObject_Length(args) : 0;
20946 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
20947 argv[ii] = PyTuple_GET_ITEM(args,ii);
20952 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
20953 _v = SWIG_CheckState(res);
20956 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t);
20957 _v = SWIG_CheckState(res);
20959 return _wrap_ostream___lshift____SWIG_0(
self, args);
20966 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
20967 _v = SWIG_CheckState(res);
20970 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t);
20971 _v = SWIG_CheckState(res);
20973 return _wrap_ostream___lshift____SWIG_1(
self, args);
20980 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
20981 _v = SWIG_CheckState(res);
20984 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base);
20985 _v = SWIG_CheckState(res);
20987 return _wrap_ostream___lshift____SWIG_2(
self, args);
20994 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
20995 _v = SWIG_CheckState(res);
20997 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_long_double, 0);
20998 _v = SWIG_CheckState(res);
21000 return _wrap_ostream___lshift____SWIG_14(
self, args);
21007 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21008 _v = SWIG_CheckState(res);
21011 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
21012 _v = SWIG_CheckState(res);
21014 return _wrap_ostream___lshift____SWIG_16(
self, args);
21021 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21022 _v = SWIG_CheckState(res);
21024 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
21025 _v = SWIG_CheckState(res);
21027 return _wrap_ostream___lshift____SWIG_17(
self, args);
21034 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21035 _v = SWIG_CheckState(res);
21038 int res = SWIG_ConvertPtr(argv[1], &ptr, 0, 0);
21039 _v = SWIG_CheckState(res);
21041 return _wrap_ostream___lshift____SWIG_15(
self, args);
21048 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21049 _v = SWIG_CheckState(res);
21052 int res = SWIG_AsVal_bool(argv[1], NULL);
21053 _v = SWIG_CheckState(res);
21056 return _wrap_ostream___lshift____SWIG_5(
self, args);
21063 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21064 _v = SWIG_CheckState(res);
21067 int res = SWIG_AsVal_unsigned_SS_short(argv[1], NULL);
21068 _v = SWIG_CheckState(res);
21071 return _wrap_ostream___lshift____SWIG_7(
self, args);
21078 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21079 _v = SWIG_CheckState(res);
21082 int res = SWIG_AsVal_short(argv[1], NULL);
21083 _v = SWIG_CheckState(res);
21086 return _wrap_ostream___lshift____SWIG_6(
self, args);
21093 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21094 _v = SWIG_CheckState(res);
21097 int res = SWIG_AsVal_unsigned_SS_int(argv[1], NULL);
21098 _v = SWIG_CheckState(res);
21101 return _wrap_ostream___lshift____SWIG_9(
self, args);
21108 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21109 _v = SWIG_CheckState(res);
21112 int res = SWIG_AsVal_int(argv[1], NULL);
21113 _v = SWIG_CheckState(res);
21116 return _wrap_ostream___lshift____SWIG_8(
self, args);
21123 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21124 _v = SWIG_CheckState(res);
21127 int res = SWIG_AsVal_unsigned_SS_long(argv[1], NULL);
21128 _v = SWIG_CheckState(res);
21131 return _wrap_ostream___lshift____SWIG_4(
self, args);
21138 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21139 _v = SWIG_CheckState(res);
21142 int res = SWIG_AsVal_long(argv[1], NULL);
21143 _v = SWIG_CheckState(res);
21146 return _wrap_ostream___lshift____SWIG_3(
self, args);
21153 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21154 _v = SWIG_CheckState(res);
21157 int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL);
21158 _v = SWIG_CheckState(res);
21161 return _wrap_ostream___lshift____SWIG_11(
self, args);
21168 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21169 _v = SWIG_CheckState(res);
21172 int res = SWIG_AsVal_long_SS_long(argv[1], NULL);
21173 _v = SWIG_CheckState(res);
21176 return _wrap_ostream___lshift____SWIG_10(
self, args);
21183 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21184 _v = SWIG_CheckState(res);
21187 int res = SWIG_AsVal_float(argv[1], NULL);
21188 _v = SWIG_CheckState(res);
21191 return _wrap_ostream___lshift____SWIG_13(
self, args);
21198 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21199 _v = SWIG_CheckState(res);
21202 int res = SWIG_AsVal_double(argv[1], NULL);
21203 _v = SWIG_CheckState(res);
21206 return _wrap_ostream___lshift____SWIG_12(
self, args);
21212 Py_INCREF(Py_NotImplemented);
21213 return Py_NotImplemented;
21217 SWIGINTERN PyObject *_wrap_ostream_put(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21218 PyObject *resultobj = 0;
21219 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21220 std::basic_ostream< char >::char_type arg2 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
21229 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream_put",&obj0,&obj1)) SWIG_fail;
21230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21231 if (!SWIG_IsOK(res1)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_put" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21234 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21235 ecode2 = SWIG_AsVal_char(obj1, &val2);
21236 if (!SWIG_IsOK(ecode2)) {
21237 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "ostream_put" "', argument " "2"" of type '" "std::basic_ostream< char >::char_type""'");
21239 arg2 =
static_cast< std::basic_ostream< char >::char_type
>(val2);
21240 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->put(arg2);
21241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21248 SWIGINTERN PyObject *_wrap_ostream_write(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21249 PyObject *resultobj = 0;
21250 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21251 std::basic_ostream< char >::char_type *arg2 = (std::basic_ostream< char >::char_type *) 0 ;
21252 std::streamsize arg3 ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 PyObject * obj2 = 0 ;
21263 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
21265 if (!PyArg_ParseTuple(args,(
char *)
"OOO:ostream_write",&obj0,&obj1,&obj2)) SWIG_fail;
21266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21267 if (!SWIG_IsOK(res1)) {
21268 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_write" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21270 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21271 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
21272 if (!SWIG_IsOK(res2)) {
21273 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream_write" "', argument " "2"" of type '" "std::basic_ostream< char >::char_type const *""'");
21275 arg2 =
reinterpret_cast< std::basic_ostream< char >::char_type *
>(buf2);
21276 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
21277 if (!SWIG_IsOK(ecode3)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "ostream_write" "', argument " "3"" of type '" "std::streamsize""'");
21280 arg3 = static_cast< std::streamsize >(val3);
21281 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->write((std::basic_ostream< char >::char_type
const *)arg2,arg3);
21282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21283 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
21286 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
21291 SWIGINTERN PyObject *_wrap_ostream_flush(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21292 PyObject *resultobj = 0;
21293 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21296 PyObject * obj0 = 0 ;
21297 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
21299 if (!PyArg_ParseTuple(args,(
char *)
"O:ostream_flush",&obj0)) SWIG_fail;
21300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21301 if (!SWIG_IsOK(res1)) {
21302 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_flush" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21304 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21305 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->flush();
21306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21313 SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21314 PyObject *resultobj = 0;
21315 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21318 PyObject * obj0 = 0 ;
21319 std::basic_ostream< char >::pos_type result;
21321 if (!PyArg_ParseTuple(args,(
char *)
"O:ostream_tellp",&obj0)) SWIG_fail;
21322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21323 if (!SWIG_IsOK(res1)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_tellp" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21326 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21327 result = (arg1)->tellp();
21328 resultobj = SWIG_NewPointerObj((
new std::basic_ostream< char >::pos_type(
static_cast< const std::basic_ostream< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
21335 SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21336 PyObject *resultobj = 0;
21337 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21338 std::basic_ostream< char >::pos_type arg2 ;
21343 PyObject * obj0 = 0 ;
21344 PyObject * obj1 = 0 ;
21345 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
21347 if (!PyArg_ParseTuple(args,(
char *)
"OO:ostream_seekp",&obj0,&obj1)) SWIG_fail;
21348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21349 if (!SWIG_IsOK(res1)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_seekp" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21352 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21354 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streampos, 0 | 0);
21355 if (!SWIG_IsOK(res2)) {
21356 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream_seekp" "', argument " "2"" of type '" "std::basic_ostream< char >::pos_type""'");
21359 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ostream_seekp" "', argument " "2"" of type '" "std::basic_ostream< char >::pos_type""'");
21361 std::basic_ostream< char >::pos_type * temp =
reinterpret_cast< std::basic_ostream< char >::pos_type *
>(argp2);
21363 if (SWIG_IsNewObj(res2))
delete temp;
21366 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->seekp(arg2);
21367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21374 SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21375 PyObject *resultobj = 0;
21376 std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ;
21377 std::basic_ostream< char >::off_type arg2 ;
21378 std::ios_base::seekdir arg3 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 PyObject * obj2 = 0 ;
21388 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
21390 if (!PyArg_ParseTuple(args,(
char *)
"OOO:ostream_seekp",&obj0,&obj1,&obj2)) SWIG_fail;
21391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21392 if (!SWIG_IsOK(res1)) {
21393 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostream_seekp" "', argument " "1"" of type '" "std::basic_ostream< char > *""'");
21395 arg1 =
reinterpret_cast< std::basic_ostream< char > *
>(argp1);
21397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streamoff, 0 | 0);
21398 if (!SWIG_IsOK(res2)) {
21399 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "ostream_seekp" "', argument " "2"" of type '" "std::basic_ostream< char >::off_type""'");
21402 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ostream_seekp" "', argument " "2"" of type '" "std::basic_ostream< char >::off_type""'");
21404 std::basic_ostream< char >::off_type * temp =
reinterpret_cast< std::basic_ostream< char >::off_type *
>(argp2);
21406 if (SWIG_IsNewObj(res2))
delete temp;
21409 ecode3 = SWIG_AsVal_int(obj2, &val3);
21410 if (!SWIG_IsOK(ecode3)) {
21411 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "ostream_seekp" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
21413 arg3 = static_cast< std::ios_base::seekdir >(val3);
21414 result = (std::basic_ostream< char,std::char_traits< char > > *) &(arg1)->seekp(arg2,arg3);
21415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21422 SWIGINTERN PyObject *_wrap_ostream_seekp(PyObject *
self, PyObject *args) {
21424 PyObject *argv[4] = {
21429 if (!PyTuple_Check(args)) SWIG_fail;
21430 argc = args ? PyObject_Length(args) : 0;
21431 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
21432 argv[ii] = PyTuple_GET_ITEM(args,ii);
21437 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21438 _v = SWIG_CheckState(res);
21440 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streampos, 0);
21441 _v = SWIG_CheckState(res);
21443 return _wrap_ostream_seekp__SWIG_0(
self, args);
21450 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0);
21451 _v = SWIG_CheckState(res);
21453 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streamoff, 0);
21454 _v = SWIG_CheckState(res);
21457 int res = SWIG_AsVal_int(argv[2], NULL);
21458 _v = SWIG_CheckState(res);
21461 return _wrap_ostream_seekp__SWIG_1(
self, args);
21468 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'ostream_seekp'.\n"
21469 " Possible C/C++ prototypes are:\n"
21470 " std::basic_ostream< char >::seekp(std::basic_ostream< char >::pos_type)\n"
21471 " std::basic_ostream< char >::seekp(std::basic_ostream< char >::off_type,std::ios_base::seekdir)\n");
21476 SWIGINTERN PyObject *ostream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21478 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
21479 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_NewClientData(obj));
21480 return SWIG_Py_Void();
21483 SWIGINTERN PyObject *_wrap_new_istream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21484 PyObject *resultobj = 0;
21485 std::basic_streambuf< char,std::char_traits< char > > *arg1 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
21488 PyObject * obj0 = 0 ;
21489 std::basic_istream< char > *result = 0 ;
21491 if (!PyArg_ParseTuple(args,(
char *)
"O:new_istream",&obj0)) SWIG_fail;
21492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
21493 if (!SWIG_IsOK(res1)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_istream" "', argument " "1"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
21496 arg1 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp1);
21497 result = (std::basic_istream< char > *)
new std::basic_istream< char >(arg1);
21498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NEW | 0 );
21505 SWIGINTERN PyObject *_wrap_delete_istream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21506 PyObject *resultobj = 0;
21507 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21510 PyObject * obj0 = 0 ;
21512 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_istream",&obj0)) SWIG_fail;
21513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 );
21514 if (!SWIG_IsOK(res1)) {
21515 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_istream" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21517 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21519 resultobj = SWIG_Py_Void();
21526 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21527 PyObject *resultobj = 0;
21528 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21529 std::basic_istream< char,std::char_traits< char > > &(*arg2)(std::basic_istream< char,std::char_traits< char > > &) = (std::basic_istream<
char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) 0 ;
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21536 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21538 if (!SWIG_IsOK(res1)) {
21539 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21541 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21543 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t);
21544 if (!SWIG_IsOK(res)) {
21545 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)""'");
21548 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(arg2);
21549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21556 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21557 PyObject *resultobj = 0;
21558 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21559 std::basic_ios< char,std::char_traits< char > > &(*arg2)(std::basic_ios< char,std::char_traits< char > > &) = (std::basic_ios<
char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) 0 ;
21562 PyObject * obj0 = 0 ;
21563 PyObject * obj1 = 0 ;
21564 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21566 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21568 if (!SWIG_IsOK(res1)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21571 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21573 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t);
21574 if (!SWIG_IsOK(res)) {
21575 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)""'");
21578 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(arg2);
21579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21586 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21587 PyObject *resultobj = 0;
21588 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21589 std::ios_base &(*arg2)(std::ios_base &) = (std::ios_base &(*)(std::ios_base &)) 0 ;
21592 PyObject * obj0 = 0 ;
21593 PyObject * obj1 = 0 ;
21594 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21596 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21598 if (!SWIG_IsOK(res1)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21601 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21603 int res = SWIG_ConvertFunctionPtr(obj1, (
void**)(&arg2), SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base);
21604 if (!SWIG_IsOK(res)) {
21605 SWIG_exception_fail(SWIG_ArgError(res),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "std::ios_base &(*)(std::ios_base &)""'");
21608 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(arg2);
21609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21616 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21617 PyObject *resultobj = 0;
21618 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21628 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21630 if (!SWIG_IsOK(res1)) {
21631 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21633 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_bool, 0 );
21635 if (!SWIG_IsOK(res2)) {
21636 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "bool &""'");
21639 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "bool &""'");
21641 arg2 = reinterpret_cast< bool * >(argp2);
21642 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21650 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_4(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21651 PyObject *resultobj = 0;
21652 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21662 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21664 if (!SWIG_IsOK(res1)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21667 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21668 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_short, 0 );
21669 if (!SWIG_IsOK(res2)) {
21670 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "short &""'");
21673 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "short &""'");
21675 arg2 = reinterpret_cast< short * >(argp2);
21676 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21684 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_5(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21685 PyObject *resultobj = 0;
21686 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21687 unsigned short *arg2 = 0 ;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21696 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21698 if (!SWIG_IsOK(res1)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21701 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21702 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_short, 0 );
21703 if (!SWIG_IsOK(res2)) {
21704 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned short &""'");
21707 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned short &""'");
21709 arg2 = reinterpret_cast< unsigned short * >(argp2);
21710 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21718 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_6(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21719 PyObject *resultobj = 0;
21720 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21730 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21732 if (!SWIG_IsOK(res1)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21735 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21736 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_int, 0 );
21737 if (!SWIG_IsOK(res2)) {
21738 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "int &""'");
21741 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "int &""'");
21743 arg2 = reinterpret_cast< int * >(argp2);
21744 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21752 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_7(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21753 PyObject *resultobj = 0;
21754 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21755 unsigned int *arg2 = 0 ;
21760 PyObject * obj0 = 0 ;
21761 PyObject * obj1 = 0 ;
21762 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21764 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21766 if (!SWIG_IsOK(res1)) {
21767 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21769 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21770 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_int, 0 );
21771 if (!SWIG_IsOK(res2)) {
21772 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned int &""'");
21775 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned int &""'");
21777 arg2 = reinterpret_cast< unsigned int * >(argp2);
21778 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21786 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_8(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21787 PyObject *resultobj = 0;
21788 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21794 PyObject * obj0 = 0 ;
21795 PyObject * obj1 = 0 ;
21796 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21798 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21800 if (!SWIG_IsOK(res1)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21803 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21804 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_long, 0 );
21805 if (!SWIG_IsOK(res2)) {
21806 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "long &""'");
21809 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "long &""'");
21811 arg2 = reinterpret_cast< long * >(argp2);
21812 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21820 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_9(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21821 PyObject *resultobj = 0;
21822 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21823 unsigned long *arg2 = 0 ;
21828 PyObject * obj0 = 0 ;
21829 PyObject * obj1 = 0 ;
21830 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21832 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21834 if (!SWIG_IsOK(res1)) {
21835 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21837 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_long, 0 );
21839 if (!SWIG_IsOK(res2)) {
21840 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned long &""'");
21843 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned long &""'");
21845 arg2 = reinterpret_cast< unsigned long * >(argp2);
21846 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21854 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_10(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21855 PyObject *resultobj = 0;
21856 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21857 long long *arg2 = 0 ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21866 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21868 if (!SWIG_IsOK(res1)) {
21869 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21871 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21872 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_long_long, 0 );
21873 if (!SWIG_IsOK(res2)) {
21874 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "long long &""'");
21877 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "long long &""'");
21879 arg2 = reinterpret_cast< long long * >(argp2);
21880 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21881 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21888 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_11(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21889 PyObject *resultobj = 0;
21890 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21891 unsigned long long *arg2 = 0 ;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21900 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21902 if (!SWIG_IsOK(res1)) {
21903 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21905 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21906 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_unsigned_long_long, 0 );
21907 if (!SWIG_IsOK(res2)) {
21908 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned long long &""'");
21911 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "unsigned long long &""'");
21913 arg2 = reinterpret_cast< unsigned long long * >(argp2);
21914 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21915 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21922 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_12(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21923 PyObject *resultobj = 0;
21924 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21930 PyObject * obj0 = 0 ;
21931 PyObject * obj1 = 0 ;
21932 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21934 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21936 if (!SWIG_IsOK(res1)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21939 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21940 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_float, 0 );
21941 if (!SWIG_IsOK(res2)) {
21942 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "float &""'");
21945 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "float &""'");
21947 arg2 = reinterpret_cast< float * >(argp2);
21948 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21956 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_13(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21957 PyObject *resultobj = 0;
21958 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
21968 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
21969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21970 if (!SWIG_IsOK(res1)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
21973 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
21974 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_double, 0 );
21975 if (!SWIG_IsOK(res2)) {
21976 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "double &""'");
21979 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "double &""'");
21981 arg2 = reinterpret_cast< double * >(argp2);
21982 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
21983 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
21990 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_14(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
21991 PyObject *resultobj = 0;
21992 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
21993 long double *arg2 = 0 ;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22002 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
22003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22004 if (!SWIG_IsOK(res1)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22007 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22008 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_long_double, 0 );
22009 if (!SWIG_IsOK(res2)) {
22010 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "long double &""'");
22013 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "long double &""'");
22015 arg2 = reinterpret_cast< long double * >(argp2);
22016 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
22017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22024 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_15(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22025 PyObject *resultobj = 0;
22026 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22036 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
22037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22038 if (!SWIG_IsOK(res1)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22041 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_p_void, 0 );
22043 if (!SWIG_IsOK(res2)) {
22044 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "void *&""'");
22047 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream___rshift__" "', argument " "2"" of type '" "void *&""'");
22049 arg2 = reinterpret_cast< void ** >(argp2);
22050 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(*arg2);
22051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22058 SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_16(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22059 PyObject *resultobj = 0;
22060 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22061 std::basic_streambuf< char,std::char_traits< char > > *arg2 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22070 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream___rshift__",&obj0,&obj1)) SWIG_fail;
22071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22072 if (!SWIG_IsOK(res1)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream___rshift__" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22075 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
22077 if (!SWIG_IsOK(res2)) {
22078 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream___rshift__" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
22080 arg2 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp2);
22081 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->operator >>(arg2);
22082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22089 SWIGINTERN PyObject *_wrap_istream___rshift__(PyObject *
self, PyObject *args) {
22091 PyObject *argv[3] = {
22096 if (!PyTuple_Check(args)) SWIG_fail;
22097 argc = args ? PyObject_Length(args) : 0;
22098 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
22099 argv[ii] = PyTuple_GET_ITEM(args,ii);
22104 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22105 _v = SWIG_CheckState(res);
22108 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t);
22109 _v = SWIG_CheckState(res);
22111 return _wrap_istream___rshift____SWIG_0(
self, args);
22118 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22119 _v = SWIG_CheckState(res);
22122 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t);
22123 _v = SWIG_CheckState(res);
22125 return _wrap_istream___rshift____SWIG_1(
self, args);
22132 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22133 _v = SWIG_CheckState(res);
22136 int res = SWIG_ConvertFunctionPtr(argv[1], &ptr, SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base);
22137 _v = SWIG_CheckState(res);
22139 return _wrap_istream___rshift____SWIG_2(
self, args);
22146 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22147 _v = SWIG_CheckState(res);
22150 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_bool, 0);
22151 _v = SWIG_CheckState(res);
22153 return _wrap_istream___rshift____SWIG_3(
self, args);
22160 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22161 _v = SWIG_CheckState(res);
22164 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_short, 0);
22165 _v = SWIG_CheckState(res);
22167 return _wrap_istream___rshift____SWIG_4(
self, args);
22174 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22175 _v = SWIG_CheckState(res);
22178 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_short, 0);
22179 _v = SWIG_CheckState(res);
22181 return _wrap_istream___rshift____SWIG_5(
self, args);
22188 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22189 _v = SWIG_CheckState(res);
22192 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_int, 0);
22193 _v = SWIG_CheckState(res);
22195 return _wrap_istream___rshift____SWIG_6(
self, args);
22202 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22203 _v = SWIG_CheckState(res);
22206 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_int, 0);
22207 _v = SWIG_CheckState(res);
22209 return _wrap_istream___rshift____SWIG_7(
self, args);
22216 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22217 _v = SWIG_CheckState(res);
22220 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long, 0);
22221 _v = SWIG_CheckState(res);
22223 return _wrap_istream___rshift____SWIG_8(
self, args);
22230 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22231 _v = SWIG_CheckState(res);
22234 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long, 0);
22235 _v = SWIG_CheckState(res);
22237 return _wrap_istream___rshift____SWIG_9(
self, args);
22244 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22245 _v = SWIG_CheckState(res);
22248 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long_long, 0);
22249 _v = SWIG_CheckState(res);
22251 return _wrap_istream___rshift____SWIG_10(
self, args);
22258 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22259 _v = SWIG_CheckState(res);
22262 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0);
22263 _v = SWIG_CheckState(res);
22265 return _wrap_istream___rshift____SWIG_11(
self, args);
22272 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22273 _v = SWIG_CheckState(res);
22276 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_float, 0);
22277 _v = SWIG_CheckState(res);
22279 return _wrap_istream___rshift____SWIG_12(
self, args);
22286 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22287 _v = SWIG_CheckState(res);
22290 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_double, 0);
22291 _v = SWIG_CheckState(res);
22293 return _wrap_istream___rshift____SWIG_13(
self, args);
22300 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22301 _v = SWIG_CheckState(res);
22304 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_long_double, 0);
22305 _v = SWIG_CheckState(res);
22307 return _wrap_istream___rshift____SWIG_14(
self, args);
22314 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22315 _v = SWIG_CheckState(res);
22318 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_p_void, 0);
22319 _v = SWIG_CheckState(res);
22321 return _wrap_istream___rshift____SWIG_15(
self, args);
22328 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22329 _v = SWIG_CheckState(res);
22332 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
22333 _v = SWIG_CheckState(res);
22335 return _wrap_istream___rshift____SWIG_16(
self, args);
22341 Py_INCREF(Py_NotImplemented);
22342 return Py_NotImplemented;
22346 SWIGINTERN PyObject *_wrap_istream_gcount(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22347 PyObject *resultobj = 0;
22348 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22351 PyObject * obj0 = 0 ;
22352 std::streamsize result;
22354 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_gcount",&obj0)) SWIG_fail;
22355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22356 if (!SWIG_IsOK(res1)) {
22357 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_gcount" "', argument " "1"" of type '" "std::basic_istream< char > const *""'");
22359 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22360 result = ((std::basic_istream< char >
const *)arg1)->gcount();
22361 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
22368 SWIGINTERN PyObject *_wrap_istream_get__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22369 PyObject *resultobj = 0;
22370 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22373 PyObject * obj0 = 0 ;
22374 std::basic_istream< char >::int_type result;
22376 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_get",&obj0)) SWIG_fail;
22377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22378 if (!SWIG_IsOK(res1)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22381 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22382 result = (std::basic_istream< char >::int_type)(arg1)->get();
22383 resultobj = SWIG_From_int(static_cast< int >(result));
22390 SWIGINTERN PyObject *_wrap_istream_get__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22391 PyObject *resultobj = 0;
22392 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22393 std::basic_istream< char >::char_type *arg2 = 0 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22402 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream_get",&obj0,&obj1)) SWIG_fail;
22403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22404 if (!SWIG_IsOK(res1)) {
22405 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22407 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22408 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_char, 0 );
22409 if (!SWIG_IsOK(res2)) {
22410 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_get" "', argument " "2"" of type '" "std::basic_istream< char >::char_type &""'");
22413 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream_get" "', argument " "2"" of type '" "std::basic_istream< char >::char_type &""'");
22415 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(argp2);
22416 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->get(*arg2);
22417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22424 SWIGINTERN PyObject *_wrap_istream_get__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22425 PyObject *resultobj = 0;
22426 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22427 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
22428 std::streamsize arg3 ;
22429 std::basic_istream< char >::char_type arg4 ;
22439 PyObject * obj0 = 0 ;
22440 PyObject * obj1 = 0 ;
22441 PyObject * obj2 = 0 ;
22442 PyObject * obj3 = 0 ;
22443 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22445 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:istream_get",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22447 if (!SWIG_IsOK(res1)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22450 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22451 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
22452 if (!SWIG_IsOK(res2)) {
22453 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_get" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
22455 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
22456 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
22457 if (!SWIG_IsOK(ecode3)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_get" "', argument " "3"" of type '" "std::streamsize""'");
22460 arg3 = static_cast< std::streamsize >(val3);
22461 ecode4 = SWIG_AsVal_char(obj3, &val4);
22462 if (!SWIG_IsOK(ecode4)) {
22463 SWIG_exception_fail(SWIG_ArgError(ecode4),
"in method '" "istream_get" "', argument " "4"" of type '" "std::basic_istream< char >::char_type""'");
22465 arg4 =
static_cast< std::basic_istream< char >::char_type
>(val4);
22466 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->get(arg2,arg3,arg4);
22467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22468 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22471 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22476 SWIGINTERN PyObject *_wrap_istream_get__SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22477 PyObject *resultobj = 0;
22478 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22479 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
22480 std::streamsize arg3 ;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22493 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_get",&obj0,&obj1,&obj2)) SWIG_fail;
22494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22495 if (!SWIG_IsOK(res1)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22498 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22499 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
22500 if (!SWIG_IsOK(res2)) {
22501 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_get" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
22503 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
22504 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
22505 if (!SWIG_IsOK(ecode3)) {
22506 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_get" "', argument " "3"" of type '" "std::streamsize""'");
22508 arg3 = static_cast< std::streamsize >(val3);
22509 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->get(arg2,arg3);
22510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22511 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22514 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22519 SWIGINTERN PyObject *_wrap_istream_get__SWIG_4(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22520 PyObject *resultobj = 0;
22521 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22522 std::basic_streambuf< char,std::char_traits< char > > *arg2 = 0 ;
22523 std::basic_istream< char >::char_type arg3 ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 PyObject * obj2 = 0 ;
22533 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22535 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_get",&obj0,&obj1,&obj2)) SWIG_fail;
22536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22537 if (!SWIG_IsOK(res1)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22540 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 );
22542 if (!SWIG_IsOK(res2)) {
22543 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_get" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > &""'");
22546 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream_get" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > &""'");
22548 arg2 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp2);
22549 ecode3 = SWIG_AsVal_char(obj2, &val3);
22550 if (!SWIG_IsOK(ecode3)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_get" "', argument " "3"" of type '" "std::basic_istream< char >::char_type""'");
22553 arg3 =
static_cast< std::basic_istream< char >::char_type
>(val3);
22554 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->get(*arg2,arg3);
22555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22562 SWIGINTERN PyObject *_wrap_istream_get__SWIG_5(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22563 PyObject *resultobj = 0;
22564 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22565 std::basic_streambuf< char,std::char_traits< char > > *arg2 = 0 ;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22574 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream_get",&obj0,&obj1)) SWIG_fail;
22575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22576 if (!SWIG_IsOK(res1)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_get" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22579 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 );
22581 if (!SWIG_IsOK(res2)) {
22582 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_get" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > &""'");
22585 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream_get" "', argument " "2"" of type '" "std::basic_streambuf< char,std::char_traits< char > > &""'");
22587 arg2 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp2);
22588 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->get(*arg2);
22589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22596 SWIGINTERN PyObject *_wrap_istream_get(PyObject *
self, PyObject *args) {
22598 PyObject *argv[5] = {
22603 if (!PyTuple_Check(args)) SWIG_fail;
22604 argc = args ? PyObject_Length(args) : 0;
22605 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
22606 argv[ii] = PyTuple_GET_ITEM(args,ii);
22611 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22612 _v = SWIG_CheckState(res);
22614 return _wrap_istream_get__SWIG_0(
self, args);
22620 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22621 _v = SWIG_CheckState(res);
22624 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_char, 0);
22625 _v = SWIG_CheckState(res);
22627 return _wrap_istream_get__SWIG_1(
self, args);
22634 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22635 _v = SWIG_CheckState(res);
22638 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
22639 _v = SWIG_CheckState(res);
22641 return _wrap_istream_get__SWIG_5(
self, args);
22648 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22649 _v = SWIG_CheckState(res);
22652 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
22653 _v = SWIG_CheckState(res);
22656 int res = SWIG_AsVal_char(argv[2], NULL);
22657 _v = SWIG_CheckState(res);
22660 return _wrap_istream_get__SWIG_4(
self, args);
22668 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22669 _v = SWIG_CheckState(res);
22671 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
22672 _v = SWIG_CheckState(res);
22675 int res = SWIG_AsVal_size_t(argv[2], NULL);
22676 _v = SWIG_CheckState(res);
22679 return _wrap_istream_get__SWIG_3(
self, args);
22687 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22688 _v = SWIG_CheckState(res);
22690 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
22691 _v = SWIG_CheckState(res);
22694 int res = SWIG_AsVal_size_t(argv[2], NULL);
22695 _v = SWIG_CheckState(res);
22699 int res = SWIG_AsVal_char(argv[3], NULL);
22700 _v = SWIG_CheckState(res);
22703 return _wrap_istream_get__SWIG_2(
self, args);
22711 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'istream_get'.\n"
22712 " Possible C/C++ prototypes are:\n"
22713 " std::basic_istream< char >::get()\n"
22714 " std::basic_istream< char >::get(std::basic_istream< char >::char_type &)\n"
22715 " std::basic_istream< char >::get(std::basic_istream< char >::char_type *,std::streamsize,std::basic_istream< char >::char_type)\n"
22716 " std::basic_istream< char >::get(std::basic_istream< char >::char_type *,std::streamsize)\n"
22717 " std::basic_istream< char >::get(std::basic_streambuf< char,std::char_traits< char > > &,std::basic_istream< char >::char_type)\n"
22718 " std::basic_istream< char >::get(std::basic_streambuf< char,std::char_traits< char > > &)\n");
22723 SWIGINTERN PyObject *_wrap_istream_getline__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22724 PyObject *resultobj = 0;
22725 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22726 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
22727 std::streamsize arg3 ;
22728 std::basic_istream< char >::char_type arg4 ;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 PyObject * obj2 = 0 ;
22741 PyObject * obj3 = 0 ;
22742 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22744 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:istream_getline",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22746 if (!SWIG_IsOK(res1)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_getline" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22749 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22750 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
22751 if (!SWIG_IsOK(res2)) {
22752 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_getline" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
22754 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
22755 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
22756 if (!SWIG_IsOK(ecode3)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_getline" "', argument " "3"" of type '" "std::streamsize""'");
22759 arg3 = static_cast< std::streamsize >(val3);
22760 ecode4 = SWIG_AsVal_char(obj3, &val4);
22761 if (!SWIG_IsOK(ecode4)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode4),
"in method '" "istream_getline" "', argument " "4"" of type '" "std::basic_istream< char >::char_type""'");
22764 arg4 =
static_cast< std::basic_istream< char >::char_type
>(val4);
22765 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->getline(arg2,arg3,arg4);
22766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22767 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22770 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22775 SWIGINTERN PyObject *_wrap_istream_getline__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22776 PyObject *resultobj = 0;
22777 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22778 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
22779 std::streamsize arg3 ;
22787 PyObject * obj0 = 0 ;
22788 PyObject * obj1 = 0 ;
22789 PyObject * obj2 = 0 ;
22790 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22792 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_getline",&obj0,&obj1,&obj2)) SWIG_fail;
22793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22794 if (!SWIG_IsOK(res1)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_getline" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22797 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22798 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
22799 if (!SWIG_IsOK(res2)) {
22800 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_getline" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
22802 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
22803 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
22804 if (!SWIG_IsOK(ecode3)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_getline" "', argument " "3"" of type '" "std::streamsize""'");
22807 arg3 = static_cast< std::streamsize >(val3);
22808 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->getline(arg2,arg3);
22809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22810 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22813 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
22818 SWIGINTERN PyObject *_wrap_istream_getline(PyObject *
self, PyObject *args) {
22820 PyObject *argv[5] = {
22825 if (!PyTuple_Check(args)) SWIG_fail;
22826 argc = args ? PyObject_Length(args) : 0;
22827 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
22828 argv[ii] = PyTuple_GET_ITEM(args,ii);
22833 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22834 _v = SWIG_CheckState(res);
22836 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
22837 _v = SWIG_CheckState(res);
22840 int res = SWIG_AsVal_size_t(argv[2], NULL);
22841 _v = SWIG_CheckState(res);
22844 return _wrap_istream_getline__SWIG_1(
self, args);
22852 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22853 _v = SWIG_CheckState(res);
22855 int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0);
22856 _v = SWIG_CheckState(res);
22859 int res = SWIG_AsVal_size_t(argv[2], NULL);
22860 _v = SWIG_CheckState(res);
22864 int res = SWIG_AsVal_char(argv[3], NULL);
22865 _v = SWIG_CheckState(res);
22868 return _wrap_istream_getline__SWIG_0(
self, args);
22876 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'istream_getline'.\n"
22877 " Possible C/C++ prototypes are:\n"
22878 " std::basic_istream< char >::getline(std::basic_istream< char >::char_type *,std::streamsize,std::basic_istream< char >::char_type)\n"
22879 " std::basic_istream< char >::getline(std::basic_istream< char >::char_type *,std::streamsize)\n");
22884 SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22885 PyObject *resultobj = 0;
22886 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22887 std::streamsize arg2 ;
22888 std::basic_istream< char >::int_type arg3 ;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 PyObject * obj2 = 0 ;
22898 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22900 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_ignore",&obj0,&obj1,&obj2)) SWIG_fail;
22901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22902 if (!SWIG_IsOK(res1)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_ignore" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22905 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22906 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22907 if (!SWIG_IsOK(ecode2)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "istream_ignore" "', argument " "2"" of type '" "std::streamsize""'");
22910 arg2 = static_cast< std::streamsize >(val2);
22911 ecode3 = SWIG_AsVal_int(obj2, &val3);
22912 if (!SWIG_IsOK(ecode3)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_ignore" "', argument " "3"" of type '" "std::basic_istream< char >::int_type""'");
22915 arg3 =
static_cast< std::basic_istream< char >::int_type
>(val3);
22916 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->ignore(arg2,arg3);
22917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22924 SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22925 PyObject *resultobj = 0;
22926 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22927 std::streamsize arg2 ;
22932 PyObject * obj0 = 0 ;
22933 PyObject * obj1 = 0 ;
22934 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22936 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream_ignore",&obj0,&obj1)) SWIG_fail;
22937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22938 if (!SWIG_IsOK(res1)) {
22939 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_ignore" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22941 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22942 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22943 if (!SWIG_IsOK(ecode2)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "istream_ignore" "', argument " "2"" of type '" "std::streamsize""'");
22946 arg2 = static_cast< std::streamsize >(val2);
22947 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->ignore(arg2);
22948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22955 SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
22956 PyObject *resultobj = 0;
22957 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
22960 PyObject * obj0 = 0 ;
22961 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
22963 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_ignore",&obj0)) SWIG_fail;
22964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22965 if (!SWIG_IsOK(res1)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_ignore" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
22968 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
22969 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->ignore();
22970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
22977 SWIGINTERN PyObject *_wrap_istream_ignore(PyObject *
self, PyObject *args) {
22979 PyObject *argv[4] = {
22984 if (!PyTuple_Check(args)) SWIG_fail;
22985 argc = args ? PyObject_Length(args) : 0;
22986 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
22987 argv[ii] = PyTuple_GET_ITEM(args,ii);
22992 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
22993 _v = SWIG_CheckState(res);
22995 return _wrap_istream_ignore__SWIG_2(
self, args);
23001 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
23002 _v = SWIG_CheckState(res);
23005 int res = SWIG_AsVal_size_t(argv[1], NULL);
23006 _v = SWIG_CheckState(res);
23009 return _wrap_istream_ignore__SWIG_1(
self, args);
23016 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
23017 _v = SWIG_CheckState(res);
23020 int res = SWIG_AsVal_size_t(argv[1], NULL);
23021 _v = SWIG_CheckState(res);
23025 int res = SWIG_AsVal_int(argv[2], NULL);
23026 _v = SWIG_CheckState(res);
23029 return _wrap_istream_ignore__SWIG_0(
self, args);
23036 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'istream_ignore'.\n"
23037 " Possible C/C++ prototypes are:\n"
23038 " std::basic_istream< char >::ignore(std::streamsize,std::basic_istream< char >::int_type)\n"
23039 " std::basic_istream< char >::ignore(std::streamsize)\n"
23040 " std::basic_istream< char >::ignore()\n");
23045 SWIGINTERN PyObject *_wrap_istream_peek(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23046 PyObject *resultobj = 0;
23047 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23050 PyObject * obj0 = 0 ;
23051 std::basic_istream< char >::int_type result;
23053 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_peek",&obj0)) SWIG_fail;
23054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23055 if (!SWIG_IsOK(res1)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_peek" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23058 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23059 result = (std::basic_istream< char >::int_type)(arg1)->peek();
23060 resultobj = SWIG_From_int(static_cast< int >(result));
23067 SWIGINTERN PyObject *_wrap_istream_read(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23068 PyObject *resultobj = 0;
23069 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23070 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
23071 std::streamsize arg3 ;
23079 PyObject * obj0 = 0 ;
23080 PyObject * obj1 = 0 ;
23081 PyObject * obj2 = 0 ;
23082 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
23084 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_read",&obj0,&obj1,&obj2)) SWIG_fail;
23085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23086 if (!SWIG_IsOK(res1)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_read" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23089 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23090 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
23091 if (!SWIG_IsOK(res2)) {
23092 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_read" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
23094 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
23095 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
23096 if (!SWIG_IsOK(ecode3)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_read" "', argument " "3"" of type '" "std::streamsize""'");
23099 arg3 = static_cast< std::streamsize >(val3);
23100 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->read(arg2,arg3);
23101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23102 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23105 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23110 SWIGINTERN PyObject *_wrap_istream_readsome(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23111 PyObject *resultobj = 0;
23112 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23113 std::basic_istream< char >::char_type *arg2 = (std::basic_istream< char >::char_type *) 0 ;
23114 std::streamsize arg3 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 PyObject * obj2 = 0 ;
23125 std::streamsize result;
23127 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_readsome",&obj0,&obj1,&obj2)) SWIG_fail;
23128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23129 if (!SWIG_IsOK(res1)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_readsome" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23132 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23133 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
23134 if (!SWIG_IsOK(res2)) {
23135 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_readsome" "', argument " "2"" of type '" "std::basic_istream< char >::char_type *""'");
23137 arg2 =
reinterpret_cast< std::basic_istream< char >::char_type *
>(buf2);
23138 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
23139 if (!SWIG_IsOK(ecode3)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_readsome" "', argument " "3"" of type '" "std::streamsize""'");
23142 arg3 = static_cast< std::streamsize >(val3);
23143 result = (arg1)->readsome(arg2,arg3);
23144 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
23145 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23148 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23153 SWIGINTERN PyObject *_wrap_istream_putback(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23154 PyObject *resultobj = 0;
23155 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23156 std::basic_istream< char >::char_type arg2 ;
23161 PyObject * obj0 = 0 ;
23162 PyObject * obj1 = 0 ;
23163 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
23165 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream_putback",&obj0,&obj1)) SWIG_fail;
23166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23167 if (!SWIG_IsOK(res1)) {
23168 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_putback" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23170 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23171 ecode2 = SWIG_AsVal_char(obj1, &val2);
23172 if (!SWIG_IsOK(ecode2)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "istream_putback" "', argument " "2"" of type '" "std::basic_istream< char >::char_type""'");
23175 arg2 =
static_cast< std::basic_istream< char >::char_type
>(val2);
23176 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->putback(arg2);
23177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23184 SWIGINTERN PyObject *_wrap_istream_unget(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23185 PyObject *resultobj = 0;
23186 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23189 PyObject * obj0 = 0 ;
23190 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
23192 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_unget",&obj0)) SWIG_fail;
23193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23194 if (!SWIG_IsOK(res1)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_unget" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23197 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23198 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->unget();
23199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23206 SWIGINTERN PyObject *_wrap_istream_sync(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23207 PyObject *resultobj = 0;
23208 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23211 PyObject * obj0 = 0 ;
23214 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_sync",&obj0)) SWIG_fail;
23215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23216 if (!SWIG_IsOK(res1)) {
23217 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_sync" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23219 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23220 result = (int)(arg1)->sync();
23221 resultobj = SWIG_From_int(static_cast< int >(result));
23228 SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23229 PyObject *resultobj = 0;
23230 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23233 PyObject * obj0 = 0 ;
23234 std::basic_istream< char >::pos_type result;
23236 if (!PyArg_ParseTuple(args,(
char *)
"O:istream_tellg",&obj0)) SWIG_fail;
23237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_tellg" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23241 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23242 result = (arg1)->tellg();
23243 resultobj = SWIG_NewPointerObj((
new std::basic_istream< char >::pos_type(
static_cast< const std::basic_istream< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
23250 SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23251 PyObject *resultobj = 0;
23252 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23253 std::basic_istream< char >::pos_type arg2 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
23262 if (!PyArg_ParseTuple(args,(
char *)
"OO:istream_seekg",&obj0,&obj1)) SWIG_fail;
23263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23264 if (!SWIG_IsOK(res1)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_seekg" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23267 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streampos, 0 | 0);
23270 if (!SWIG_IsOK(res2)) {
23271 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_seekg" "', argument " "2"" of type '" "std::basic_istream< char >::pos_type""'");
23274 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream_seekg" "', argument " "2"" of type '" "std::basic_istream< char >::pos_type""'");
23276 std::basic_istream< char >::pos_type * temp =
reinterpret_cast< std::basic_istream< char >::pos_type *
>(argp2);
23278 if (SWIG_IsNewObj(res2))
delete temp;
23281 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->seekg(arg2);
23282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23289 SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23290 PyObject *resultobj = 0;
23291 std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ;
23292 std::basic_istream< char >::off_type arg2 ;
23293 std::ios_base::seekdir arg3 ;
23300 PyObject * obj0 = 0 ;
23301 PyObject * obj1 = 0 ;
23302 PyObject * obj2 = 0 ;
23303 std::basic_istream< char,std::char_traits< char > > *result = 0 ;
23305 if (!PyArg_ParseTuple(args,(
char *)
"OOO:istream_seekg",&obj0,&obj1,&obj2)) SWIG_fail;
23306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istream_seekg" "', argument " "1"" of type '" "std::basic_istream< char > *""'");
23310 arg1 =
reinterpret_cast< std::basic_istream< char > *
>(argp1);
23312 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streamoff, 0 | 0);
23313 if (!SWIG_IsOK(res2)) {
23314 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istream_seekg" "', argument " "2"" of type '" "std::basic_istream< char >::off_type""'");
23317 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istream_seekg" "', argument " "2"" of type '" "std::basic_istream< char >::off_type""'");
23319 std::basic_istream< char >::off_type * temp =
reinterpret_cast< std::basic_istream< char >::off_type *
>(argp2);
23321 if (SWIG_IsNewObj(res2))
delete temp;
23324 ecode3 = SWIG_AsVal_int(obj2, &val3);
23325 if (!SWIG_IsOK(ecode3)) {
23326 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "istream_seekg" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
23328 arg3 = static_cast< std::ios_base::seekdir >(val3);
23329 result = (std::basic_istream< char,std::char_traits< char > > *) &(arg1)->seekg(arg2,arg3);
23330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23337 SWIGINTERN PyObject *_wrap_istream_seekg(PyObject *
self, PyObject *args) {
23339 PyObject *argv[4] = {
23344 if (!PyTuple_Check(args)) SWIG_fail;
23345 argc = args ? PyObject_Length(args) : 0;
23346 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
23347 argv[ii] = PyTuple_GET_ITEM(args,ii);
23352 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
23353 _v = SWIG_CheckState(res);
23355 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streampos, 0);
23356 _v = SWIG_CheckState(res);
23358 return _wrap_istream_seekg__SWIG_0(
self, args);
23365 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0);
23366 _v = SWIG_CheckState(res);
23368 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streamoff, 0);
23369 _v = SWIG_CheckState(res);
23372 int res = SWIG_AsVal_int(argv[2], NULL);
23373 _v = SWIG_CheckState(res);
23376 return _wrap_istream_seekg__SWIG_1(
self, args);
23383 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'istream_seekg'.\n"
23384 " Possible C/C++ prototypes are:\n"
23385 " std::basic_istream< char >::seekg(std::basic_istream< char >::pos_type)\n"
23386 " std::basic_istream< char >::seekg(std::basic_istream< char >::off_type,std::ios_base::seekdir)\n");
23391 SWIGINTERN PyObject *istream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23393 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
23394 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_NewClientData(obj));
23395 return SWIG_Py_Void();
23398 SWIGINTERN PyObject *_wrap_new_iostream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23399 PyObject *resultobj = 0;
23400 std::basic_streambuf< char,std::char_traits< char > > *arg1 = (std::basic_streambuf< char,std::char_traits< char > > *) 0 ;
23403 PyObject * obj0 = 0 ;
23404 std::basic_iostream< char > *result = 0 ;
23406 if (!PyArg_ParseTuple(args,(
char *)
"O:new_iostream",&obj0)) SWIG_fail;
23407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23408 if (!SWIG_IsOK(res1)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_iostream" "', argument " "1"" of type '" "std::basic_streambuf< char,std::char_traits< char > > *""'");
23411 arg1 =
reinterpret_cast< std::basic_streambuf< char,std::char_traits< char >
> * >(argp1);
23412 result = (std::basic_iostream< char > *)
new std::basic_iostream< char >(arg1);
23413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_NEW | 0 );
23420 SWIGINTERN PyObject *_wrap_delete_iostream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23421 PyObject *resultobj = 0;
23422 std::basic_iostream< char > *arg1 = (std::basic_iostream< char > *) 0 ;
23425 PyObject * obj0 = 0 ;
23427 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_iostream",&obj0)) SWIG_fail;
23428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 );
23429 if (!SWIG_IsOK(res1)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_iostream" "', argument " "1"" of type '" "std::basic_iostream< char > *""'");
23432 arg1 =
reinterpret_cast< std::basic_iostream< char > *
>(argp1);
23434 resultobj = SWIG_Py_Void();
23441 SWIGINTERN PyObject *iostream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23443 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
23444 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_NewClientData(obj));
23445 return SWIG_Py_Void();
23448 SWIGINTERN PyObject *endl_cb_ptr_swigconstant(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23451 if (!PyArg_ParseTuple(args,(
char*)
"O:swigconstant", &module))
return NULL;
23452 d = PyModule_GetDict(module);
23453 if (!d)
return NULL;
23455 return SWIG_Py_Void();
23459 SWIGINTERN PyObject *_wrap_endl(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23460 PyObject *resultobj = 0;
23461 std::basic_ostream< char,std::char_traits< char > > *arg1 = 0 ;
23464 PyObject * obj0 = 0 ;
23465 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
23467 if (!PyArg_ParseTuple(args,(
char *)
"O:endl",&obj0)) SWIG_fail;
23468 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
23469 if (!SWIG_IsOK(res1)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "endl" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23473 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "endl" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23475 arg1 =
reinterpret_cast< std::basic_ostream< char,std::char_traits< char >
> * >(argp1);
23476 result = (std::basic_ostream< char,std::char_traits< char > > *) &std::SWIGTEMPLATEDISAMBIGUATOR endl<
char,std::char_traits< char > >(*arg1);
23477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23484 SWIGINTERN PyObject *ends_cb_ptr_swigconstant(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23487 if (!PyArg_ParseTuple(args,(
char*)
"O:swigconstant", &module))
return NULL;
23488 d = PyModule_GetDict(module);
23489 if (!d)
return NULL;
23491 return SWIG_Py_Void();
23495 SWIGINTERN PyObject *_wrap_ends(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23496 PyObject *resultobj = 0;
23497 std::basic_ostream< char,std::char_traits< char > > *arg1 = 0 ;
23500 PyObject * obj0 = 0 ;
23501 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
23503 if (!PyArg_ParseTuple(args,(
char *)
"O:ends",&obj0)) SWIG_fail;
23504 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
23505 if (!SWIG_IsOK(res1)) {
23506 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ends" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23509 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "ends" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23511 arg1 =
reinterpret_cast< std::basic_ostream< char,std::char_traits< char >
> * >(argp1);
23512 result = (std::basic_ostream< char,std::char_traits< char > > *) &std::SWIGTEMPLATEDISAMBIGUATOR ends<
char,std::char_traits< char > >(*arg1);
23513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23520 SWIGINTERN PyObject *flush_cb_ptr_swigconstant(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23523 if (!PyArg_ParseTuple(args,(
char*)
"O:swigconstant", &module))
return NULL;
23524 d = PyModule_GetDict(module);
23525 if (!d)
return NULL;
23527 return SWIG_Py_Void();
23531 SWIGINTERN PyObject *_wrap_flush(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23532 PyObject *resultobj = 0;
23533 std::basic_ostream< char,std::char_traits< char > > *arg1 = 0 ;
23536 PyObject * obj0 = 0 ;
23537 std::basic_ostream< char,std::char_traits< char > > *result = 0 ;
23539 if (!PyArg_ParseTuple(args,(
char *)
"O:flush",&obj0)) SWIG_fail;
23540 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 );
23541 if (!SWIG_IsOK(res1)) {
23542 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "flush" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23545 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "flush" "', argument " "1"" of type '" "std::basic_ostream< char,std::char_traits< char > > &""'");
23547 arg1 =
reinterpret_cast< std::basic_ostream< char,std::char_traits< char >
> * >(argp1);
23548 result = (std::basic_ostream< char,std::char_traits< char > > *) &std::SWIGTEMPLATEDISAMBIGUATOR flush<
char,std::char_traits< char > >(*arg1);
23549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 );
23556 SWIGINTERN PyObject *_wrap_delete_streambuf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23557 PyObject *resultobj = 0;
23558 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23561 PyObject * obj0 = 0 ;
23563 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_streambuf",&obj0)) SWIG_fail;
23564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 );
23565 if (!SWIG_IsOK(res1)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_streambuf" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23568 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23570 resultobj = SWIG_Py_Void();
23577 SWIGINTERN PyObject *_wrap_streambuf_pubimbue(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23578 PyObject *resultobj = 0;
23579 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23580 std::locale *arg2 = 0 ;
23585 PyObject * obj0 = 0 ;
23586 PyObject * obj1 = 0 ;
23587 std::locale result;
23589 if (!PyArg_ParseTuple(args,(
char *)
"OO:streambuf_pubimbue",&obj0,&obj1)) SWIG_fail;
23590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23591 if (!SWIG_IsOK(res1)) {
23592 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubimbue" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23594 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__locale, 0 | 0);
23596 if (!SWIG_IsOK(res2)) {
23597 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubimbue" "', argument " "2"" of type '" "std::locale const &""'");
23600 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "streambuf_pubimbue" "', argument " "2"" of type '" "std::locale const &""'");
23602 arg2 = reinterpret_cast< std::locale * >(argp2);
23603 result = (arg1)->pubimbue((std::locale
const &)*arg2);
23604 resultobj = SWIG_NewPointerObj((
new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 );
23611 SWIGINTERN PyObject *_wrap_streambuf_getloc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23612 PyObject *resultobj = 0;
23613 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23616 PyObject * obj0 = 0 ;
23617 std::locale result;
23619 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_getloc",&obj0)) SWIG_fail;
23620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23621 if (!SWIG_IsOK(res1)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_getloc" "', argument " "1"" of type '" "std::basic_streambuf< char > const *""'");
23624 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23625 result = ((std::basic_streambuf< char >
const *)arg1)->getloc();
23626 resultobj = SWIG_NewPointerObj((
new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 );
23633 SWIGINTERN PyObject *_wrap_streambuf_pubsetbuf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23634 PyObject *resultobj = 0;
23635 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23636 std::basic_streambuf< char >::char_type *arg2 = (std::basic_streambuf< char >::char_type *) 0 ;
23637 std::streamsize arg3 ;
23645 PyObject * obj0 = 0 ;
23646 PyObject * obj1 = 0 ;
23647 PyObject * obj2 = 0 ;
23648 std::basic_streambuf< char,std::char_traits< char > > *result = 0 ;
23650 if (!PyArg_ParseTuple(args,(
char *)
"OOO:streambuf_pubsetbuf",&obj0,&obj1,&obj2)) SWIG_fail;
23651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23652 if (!SWIG_IsOK(res1)) {
23653 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubsetbuf" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23655 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23656 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
23657 if (!SWIG_IsOK(res2)) {
23658 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubsetbuf" "', argument " "2"" of type '" "std::basic_streambuf< char >::char_type *""'");
23660 arg2 =
reinterpret_cast< std::basic_streambuf< char >::char_type *
>(buf2);
23661 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
23662 if (!SWIG_IsOK(ecode3)) {
23663 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_pubsetbuf" "', argument " "3"" of type '" "std::streamsize""'");
23665 arg3 = static_cast< std::streamsize >(val3);
23666 result = (std::basic_streambuf< char,std::char_traits< char > > *)(arg1)->pubsetbuf(arg2,arg3);
23667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23668 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23671 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
23676 SWIGINTERN PyObject *_wrap_streambuf_pubseekoff__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23677 PyObject *resultobj = 0;
23678 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23679 std::basic_streambuf< char >::off_type arg2 ;
23680 std::ios_base::seekdir arg3 ;
23681 std::ios_base::openmode arg4 ;
23690 PyObject * obj0 = 0 ;
23691 PyObject * obj1 = 0 ;
23692 PyObject * obj2 = 0 ;
23693 PyObject * obj3 = 0 ;
23694 std::basic_streambuf< char >::pos_type result;
23696 if (!PyArg_ParseTuple(args,(
char *)
"OOOO:streambuf_pubseekoff",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
23697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23698 if (!SWIG_IsOK(res1)) {
23699 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubseekoff" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23701 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23703 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streamoff, 0 | 0);
23704 if (!SWIG_IsOK(res2)) {
23705 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubseekoff" "', argument " "2"" of type '" "std::basic_streambuf< char >::off_type""'");
23708 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "streambuf_pubseekoff" "', argument " "2"" of type '" "std::basic_streambuf< char >::off_type""'");
23710 std::basic_streambuf< char >::off_type * temp =
reinterpret_cast< std::basic_streambuf< char >::off_type *
>(argp2);
23712 if (SWIG_IsNewObj(res2))
delete temp;
23715 ecode3 = SWIG_AsVal_int(obj2, &val3);
23716 if (!SWIG_IsOK(ecode3)) {
23717 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_pubseekoff" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
23719 arg3 = static_cast< std::ios_base::seekdir >(val3);
23720 ecode4 = SWIG_AsVal_int(obj3, &val4);
23721 if (!SWIG_IsOK(ecode4)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode4),
"in method '" "streambuf_pubseekoff" "', argument " "4"" of type '" "std::ios_base::openmode""'");
23724 arg4 = static_cast< std::ios_base::openmode >(val4);
23725 result = (arg1)->pubseekoff(arg2,arg3,arg4);
23726 resultobj = SWIG_NewPointerObj((
new std::basic_streambuf< char >::pos_type(
static_cast< const std::basic_streambuf< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
23733 SWIGINTERN PyObject *_wrap_streambuf_pubseekoff__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23734 PyObject *resultobj = 0;
23735 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23736 std::basic_streambuf< char >::off_type arg2 ;
23737 std::ios_base::seekdir arg3 ;
23744 PyObject * obj0 = 0 ;
23745 PyObject * obj1 = 0 ;
23746 PyObject * obj2 = 0 ;
23747 std::basic_streambuf< char >::pos_type result;
23749 if (!PyArg_ParseTuple(args,(
char *)
"OOO:streambuf_pubseekoff",&obj0,&obj1,&obj2)) SWIG_fail;
23750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23751 if (!SWIG_IsOK(res1)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubseekoff" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23754 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23756 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streamoff, 0 | 0);
23757 if (!SWIG_IsOK(res2)) {
23758 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubseekoff" "', argument " "2"" of type '" "std::basic_streambuf< char >::off_type""'");
23761 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "streambuf_pubseekoff" "', argument " "2"" of type '" "std::basic_streambuf< char >::off_type""'");
23763 std::basic_streambuf< char >::off_type * temp =
reinterpret_cast< std::basic_streambuf< char >::off_type *
>(argp2);
23765 if (SWIG_IsNewObj(res2))
delete temp;
23768 ecode3 = SWIG_AsVal_int(obj2, &val3);
23769 if (!SWIG_IsOK(ecode3)) {
23770 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_pubseekoff" "', argument " "3"" of type '" "std::ios_base::seekdir""'");
23772 arg3 = static_cast< std::ios_base::seekdir >(val3);
23773 result = (arg1)->pubseekoff(arg2,arg3);
23774 resultobj = SWIG_NewPointerObj((
new std::basic_streambuf< char >::pos_type(
static_cast< const std::basic_streambuf< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
23781 SWIGINTERN PyObject *_wrap_streambuf_pubseekoff(PyObject *
self, PyObject *args) {
23783 PyObject *argv[5] = {
23788 if (!PyTuple_Check(args)) SWIG_fail;
23789 argc = args ? PyObject_Length(args) : 0;
23790 for (ii = 0; (ii < 4) && (ii < argc); ii++) {
23791 argv[ii] = PyTuple_GET_ITEM(args,ii);
23796 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
23797 _v = SWIG_CheckState(res);
23799 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streamoff, 0);
23800 _v = SWIG_CheckState(res);
23803 int res = SWIG_AsVal_int(argv[2], NULL);
23804 _v = SWIG_CheckState(res);
23807 return _wrap_streambuf_pubseekoff__SWIG_1(
self, args);
23815 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
23816 _v = SWIG_CheckState(res);
23818 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streamoff, 0);
23819 _v = SWIG_CheckState(res);
23822 int res = SWIG_AsVal_int(argv[2], NULL);
23823 _v = SWIG_CheckState(res);
23827 int res = SWIG_AsVal_int(argv[3], NULL);
23828 _v = SWIG_CheckState(res);
23831 return _wrap_streambuf_pubseekoff__SWIG_0(
self, args);
23839 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'streambuf_pubseekoff'.\n"
23840 " Possible C/C++ prototypes are:\n"
23841 " std::basic_streambuf< char >::pubseekoff(std::basic_streambuf< char >::off_type,std::ios_base::seekdir,std::ios_base::openmode)\n"
23842 " std::basic_streambuf< char >::pubseekoff(std::basic_streambuf< char >::off_type,std::ios_base::seekdir)\n");
23847 SWIGINTERN PyObject *_wrap_streambuf_pubseekpos__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23848 PyObject *resultobj = 0;
23849 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23850 std::basic_streambuf< char >::pos_type arg2 ;
23851 std::ios_base::openmode arg3 ;
23858 PyObject * obj0 = 0 ;
23859 PyObject * obj1 = 0 ;
23860 PyObject * obj2 = 0 ;
23861 std::basic_streambuf< char >::pos_type result;
23863 if (!PyArg_ParseTuple(args,(
char *)
"OOO:streambuf_pubseekpos",&obj0,&obj1,&obj2)) SWIG_fail;
23864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23865 if (!SWIG_IsOK(res1)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubseekpos" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23868 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23870 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streampos, 0 | 0);
23871 if (!SWIG_IsOK(res2)) {
23872 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubseekpos" "', argument " "2"" of type '" "std::basic_streambuf< char >::pos_type""'");
23875 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "streambuf_pubseekpos" "', argument " "2"" of type '" "std::basic_streambuf< char >::pos_type""'");
23877 std::basic_streambuf< char >::pos_type * temp =
reinterpret_cast< std::basic_streambuf< char >::pos_type *
>(argp2);
23879 if (SWIG_IsNewObj(res2))
delete temp;
23882 ecode3 = SWIG_AsVal_int(obj2, &val3);
23883 if (!SWIG_IsOK(ecode3)) {
23884 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_pubseekpos" "', argument " "3"" of type '" "std::ios_base::openmode""'");
23886 arg3 = static_cast< std::ios_base::openmode >(val3);
23887 result = (arg1)->pubseekpos(arg2,arg3);
23888 resultobj = SWIG_NewPointerObj((
new std::basic_streambuf< char >::pos_type(
static_cast< const std::basic_streambuf< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
23895 SWIGINTERN PyObject *_wrap_streambuf_pubseekpos__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23896 PyObject *resultobj = 0;
23897 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23898 std::basic_streambuf< char >::pos_type arg2 ;
23903 PyObject * obj0 = 0 ;
23904 PyObject * obj1 = 0 ;
23905 std::basic_streambuf< char >::pos_type result;
23907 if (!PyArg_ParseTuple(args,(
char *)
"OO:streambuf_pubseekpos",&obj0,&obj1)) SWIG_fail;
23908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23909 if (!SWIG_IsOK(res1)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubseekpos" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
23912 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
23914 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_streampos, 0 | 0);
23915 if (!SWIG_IsOK(res2)) {
23916 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_pubseekpos" "', argument " "2"" of type '" "std::basic_streambuf< char >::pos_type""'");
23919 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "streambuf_pubseekpos" "', argument " "2"" of type '" "std::basic_streambuf< char >::pos_type""'");
23921 std::basic_streambuf< char >::pos_type * temp =
reinterpret_cast< std::basic_streambuf< char >::pos_type *
>(argp2);
23923 if (SWIG_IsNewObj(res2))
delete temp;
23926 result = (arg1)->pubseekpos(arg2);
23927 resultobj = SWIG_NewPointerObj((
new std::basic_streambuf< char >::pos_type(
static_cast< const std::basic_streambuf< char >::pos_type&
>(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 );
23934 SWIGINTERN PyObject *_wrap_streambuf_pubseekpos(PyObject *
self, PyObject *args) {
23936 PyObject *argv[4] = {
23941 if (!PyTuple_Check(args)) SWIG_fail;
23942 argc = args ? PyObject_Length(args) : 0;
23943 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
23944 argv[ii] = PyTuple_GET_ITEM(args,ii);
23949 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
23950 _v = SWIG_CheckState(res);
23952 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streampos, 0);
23953 _v = SWIG_CheckState(res);
23955 return _wrap_streambuf_pubseekpos__SWIG_1(
self, args);
23962 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0);
23963 _v = SWIG_CheckState(res);
23965 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_streampos, 0);
23966 _v = SWIG_CheckState(res);
23969 int res = SWIG_AsVal_int(argv[2], NULL);
23970 _v = SWIG_CheckState(res);
23973 return _wrap_streambuf_pubseekpos__SWIG_0(
self, args);
23980 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'streambuf_pubseekpos'.\n"
23981 " Possible C/C++ prototypes are:\n"
23982 " std::basic_streambuf< char >::pubseekpos(std::basic_streambuf< char >::pos_type,std::ios_base::openmode)\n"
23983 " std::basic_streambuf< char >::pubseekpos(std::basic_streambuf< char >::pos_type)\n");
23988 SWIGINTERN PyObject *_wrap_streambuf_pubsync(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
23989 PyObject *resultobj = 0;
23990 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
23993 PyObject * obj0 = 0 ;
23996 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_pubsync",&obj0)) SWIG_fail;
23997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
23998 if (!SWIG_IsOK(res1)) {
23999 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_pubsync" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24001 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24002 result = (int)(arg1)->pubsync();
24003 resultobj = SWIG_From_int(static_cast< int >(result));
24010 SWIGINTERN PyObject *_wrap_streambuf_in_avail(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24011 PyObject *resultobj = 0;
24012 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24015 PyObject * obj0 = 0 ;
24016 std::streamsize result;
24018 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_in_avail",&obj0)) SWIG_fail;
24019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_in_avail" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24023 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24024 result = (arg1)->in_avail();
24025 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
24032 SWIGINTERN PyObject *_wrap_streambuf_snextc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24033 PyObject *resultobj = 0;
24034 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24037 PyObject * obj0 = 0 ;
24038 std::basic_streambuf< char >::int_type result;
24040 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_snextc",&obj0)) SWIG_fail;
24041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24042 if (!SWIG_IsOK(res1)) {
24043 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_snextc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24045 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24046 result = (std::basic_streambuf< char >::int_type)(arg1)->snextc();
24047 resultobj = SWIG_From_int(static_cast< int >(result));
24054 SWIGINTERN PyObject *_wrap_streambuf_sbumpc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24055 PyObject *resultobj = 0;
24056 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24059 PyObject * obj0 = 0 ;
24060 std::basic_streambuf< char >::int_type result;
24062 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_sbumpc",&obj0)) SWIG_fail;
24063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24064 if (!SWIG_IsOK(res1)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sbumpc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24067 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24068 result = (std::basic_streambuf< char >::int_type)(arg1)->sbumpc();
24069 resultobj = SWIG_From_int(static_cast< int >(result));
24076 SWIGINTERN PyObject *_wrap_streambuf_sgetc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24077 PyObject *resultobj = 0;
24078 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24081 PyObject * obj0 = 0 ;
24082 std::basic_streambuf< char >::int_type result;
24084 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_sgetc",&obj0)) SWIG_fail;
24085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24086 if (!SWIG_IsOK(res1)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sgetc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24089 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24090 result = (std::basic_streambuf< char >::int_type)(arg1)->sgetc();
24091 resultobj = SWIG_From_int(static_cast< int >(result));
24098 SWIGINTERN PyObject *_wrap_streambuf_sgetn(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24099 PyObject *resultobj = 0;
24100 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24101 std::basic_streambuf< char >::char_type *arg2 = (std::basic_streambuf< char >::char_type *) 0 ;
24102 std::streamsize arg3 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 PyObject * obj2 = 0 ;
24113 std::streamsize result;
24115 if (!PyArg_ParseTuple(args,(
char *)
"OOO:streambuf_sgetn",&obj0,&obj1,&obj2)) SWIG_fail;
24116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24117 if (!SWIG_IsOK(res1)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sgetn" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24120 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24121 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
24122 if (!SWIG_IsOK(res2)) {
24123 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_sgetn" "', argument " "2"" of type '" "std::basic_streambuf< char >::char_type *""'");
24125 arg2 =
reinterpret_cast< std::basic_streambuf< char >::char_type *
>(buf2);
24126 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
24127 if (!SWIG_IsOK(ecode3)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_sgetn" "', argument " "3"" of type '" "std::streamsize""'");
24130 arg3 = static_cast< std::streamsize >(val3);
24131 result = (arg1)->sgetn(arg2,arg3);
24132 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
24133 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
24136 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
24141 SWIGINTERN PyObject *_wrap_streambuf_sputbackc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24142 PyObject *resultobj = 0;
24143 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24144 std::basic_streambuf< char >::char_type arg2 ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 std::basic_streambuf< char >::int_type result;
24153 if (!PyArg_ParseTuple(args,(
char *)
"OO:streambuf_sputbackc",&obj0,&obj1)) SWIG_fail;
24154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sputbackc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24158 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24159 ecode2 = SWIG_AsVal_char(obj1, &val2);
24160 if (!SWIG_IsOK(ecode2)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "streambuf_sputbackc" "', argument " "2"" of type '" "std::basic_streambuf< char >::char_type""'");
24163 arg2 =
static_cast< std::basic_streambuf< char >::char_type
>(val2);
24164 result = (std::basic_streambuf< char >::int_type)(arg1)->sputbackc(arg2);
24165 resultobj = SWIG_From_int(static_cast< int >(result));
24172 SWIGINTERN PyObject *_wrap_streambuf_sungetc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24173 PyObject *resultobj = 0;
24174 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24177 PyObject * obj0 = 0 ;
24178 std::basic_streambuf< char >::int_type result;
24180 if (!PyArg_ParseTuple(args,(
char *)
"O:streambuf_sungetc",&obj0)) SWIG_fail;
24181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24182 if (!SWIG_IsOK(res1)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sungetc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24185 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24186 result = (std::basic_streambuf< char >::int_type)(arg1)->sungetc();
24187 resultobj = SWIG_From_int(static_cast< int >(result));
24194 SWIGINTERN PyObject *_wrap_streambuf_sputc(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24195 PyObject *resultobj = 0;
24196 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24197 std::basic_streambuf< char >::char_type arg2 ;
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 std::basic_streambuf< char >::int_type result;
24206 if (!PyArg_ParseTuple(args,(
char *)
"OO:streambuf_sputc",&obj0,&obj1)) SWIG_fail;
24207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24208 if (!SWIG_IsOK(res1)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sputc" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24211 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24212 ecode2 = SWIG_AsVal_char(obj1, &val2);
24213 if (!SWIG_IsOK(ecode2)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "streambuf_sputc" "', argument " "2"" of type '" "std::basic_streambuf< char >::char_type""'");
24216 arg2 =
static_cast< std::basic_streambuf< char >::char_type
>(val2);
24217 result = (std::basic_streambuf< char >::int_type)(arg1)->sputc(arg2);
24218 resultobj = SWIG_From_int(static_cast< int >(result));
24225 SWIGINTERN PyObject *_wrap_streambuf_sputn(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24226 PyObject *resultobj = 0;
24227 std::basic_streambuf< char > *arg1 = (std::basic_streambuf< char > *) 0 ;
24228 std::basic_streambuf< char >::char_type *arg2 = (std::basic_streambuf< char >::char_type *) 0 ;
24229 std::streamsize arg3 ;
24237 PyObject * obj0 = 0 ;
24238 PyObject * obj1 = 0 ;
24239 PyObject * obj2 = 0 ;
24240 std::streamsize result;
24242 if (!PyArg_ParseTuple(args,(
char *)
"OOO:streambuf_sputn",&obj0,&obj1,&obj2)) SWIG_fail;
24243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 );
24244 if (!SWIG_IsOK(res1)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "streambuf_sputn" "', argument " "1"" of type '" "std::basic_streambuf< char > *""'");
24247 arg1 =
reinterpret_cast< std::basic_streambuf< char > *
>(argp1);
24248 res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
24249 if (!SWIG_IsOK(res2)) {
24250 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "streambuf_sputn" "', argument " "2"" of type '" "std::basic_streambuf< char >::char_type const *""'");
24252 arg2 =
reinterpret_cast< std::basic_streambuf< char >::char_type *
>(buf2);
24253 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
24254 if (!SWIG_IsOK(ecode3)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "streambuf_sputn" "', argument " "3"" of type '" "std::streamsize""'");
24257 arg3 = static_cast< std::streamsize >(val3);
24258 result = (arg1)->sputn((std::basic_streambuf< char >::char_type
const *)arg2,arg3);
24259 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
24260 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
24263 if (alloc2 == SWIG_NEWOBJ)
delete[] buf2;
24268 SWIGINTERN PyObject *streambuf_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24270 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
24271 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, SWIG_NewClientData(obj));
24272 return SWIG_Py_Void();
24275 SWIGINTERN PyObject *_wrap_new_istringstream__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24276 PyObject *resultobj = 0;
24277 std::ios_base::openmode arg1 ;
24280 PyObject * obj0 = 0 ;
24281 std::basic_istringstream< char > *result = 0 ;
24283 if (!PyArg_ParseTuple(args,(
char *)
"O:new_istringstream",&obj0)) SWIG_fail;
24284 ecode1 = SWIG_AsVal_int(obj0, &val1);
24285 if (!SWIG_IsOK(ecode1)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode1),
"in method '" "new_istringstream" "', argument " "1"" of type '" "std::ios_base::openmode""'");
24288 arg1 = static_cast< std::ios_base::openmode >(val1);
24289 result = (std::basic_istringstream< char > *)
new std::basic_istringstream< char >(arg1);
24290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24297 SWIGINTERN PyObject *_wrap_new_istringstream__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24298 PyObject *resultobj = 0;
24299 std::basic_istringstream< char > *result = 0 ;
24301 if (!PyArg_ParseTuple(args,(
char *)
":new_istringstream")) SWIG_fail;
24302 result = (std::basic_istringstream< char > *)
new std::basic_istringstream< char >();
24303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24310 SWIGINTERN PyObject *_wrap_new_istringstream__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24311 PyObject *resultobj = 0;
24312 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24313 std::ios_base::openmode arg2 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 std::basic_istringstream< char > *result = 0 ;
24322 if (!PyArg_ParseTuple(args,(
char *)
"OO:new_istringstream",&obj0,&obj1)) SWIG_fail;
24323 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24324 if (!SWIG_IsOK(res1)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_istringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24328 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_istringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24330 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24331 ecode2 = SWIG_AsVal_int(obj1, &val2);
24332 if (!SWIG_IsOK(ecode2)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "new_istringstream" "', argument " "2"" of type '" "std::ios_base::openmode""'");
24335 arg2 = static_cast< std::ios_base::openmode >(val2);
24336 result = (std::basic_istringstream< char > *)
new std::basic_istringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1,arg2);
24337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24344 SWIGINTERN PyObject *_wrap_new_istringstream__SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24345 PyObject *resultobj = 0;
24346 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24349 PyObject * obj0 = 0 ;
24350 std::basic_istringstream< char > *result = 0 ;
24352 if (!PyArg_ParseTuple(args,(
char *)
"O:new_istringstream",&obj0)) SWIG_fail;
24353 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24354 if (!SWIG_IsOK(res1)) {
24355 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_istringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24358 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_istringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24360 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24361 result = (std::basic_istringstream< char > *)
new std::basic_istringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1);
24362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24369 SWIGINTERN PyObject *_wrap_new_istringstream(PyObject *
self, PyObject *args) {
24371 PyObject *argv[3] = {
24376 if (!PyTuple_Check(args)) SWIG_fail;
24377 argc = args ? PyObject_Length(args) : 0;
24378 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24379 argv[ii] = PyTuple_GET_ITEM(args,ii);
24382 return _wrap_new_istringstream__SWIG_1(
self, args);
24386 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24387 _v = SWIG_CheckState(res);
24389 return _wrap_new_istringstream__SWIG_3(
self, args);
24395 int res = SWIG_AsVal_int(argv[0], NULL);
24396 _v = SWIG_CheckState(res);
24399 return _wrap_new_istringstream__SWIG_0(
self, args);
24404 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24405 _v = SWIG_CheckState(res);
24408 int res = SWIG_AsVal_int(argv[1], NULL);
24409 _v = SWIG_CheckState(res);
24412 return _wrap_new_istringstream__SWIG_2(
self, args);
24418 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'new_istringstream'.\n"
24419 " Possible C/C++ prototypes are:\n"
24420 " std::basic_istringstream< char >::basic_istringstream(std::ios_base::openmode)\n"
24421 " std::basic_istringstream< char >::basic_istringstream()\n"
24422 " std::basic_istringstream< char >::basic_istringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &,std::ios_base::openmode)\n"
24423 " std::basic_istringstream< char >::basic_istringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &)\n");
24428 SWIGINTERN PyObject *_wrap_delete_istringstream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24429 PyObject *resultobj = 0;
24430 std::basic_istringstream< char > *arg1 = (std::basic_istringstream< char > *) 0 ;
24433 PyObject * obj0 = 0 ;
24435 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_istringstream",&obj0)) SWIG_fail;
24436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_DISOWN | 0 );
24437 if (!SWIG_IsOK(res1)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_istringstream" "', argument " "1"" of type '" "std::basic_istringstream< char > *""'");
24440 arg1 =
reinterpret_cast< std::basic_istringstream< char > *
>(argp1);
24442 resultobj = SWIG_Py_Void();
24449 SWIGINTERN PyObject *_wrap_istringstream_rdbuf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24450 PyObject *resultobj = 0;
24451 std::basic_istringstream< char > *arg1 = (std::basic_istringstream< char > *) 0 ;
24454 PyObject * obj0 = 0 ;
24455 std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *result = 0 ;
24457 if (!PyArg_ParseTuple(args,(
char *)
"O:istringstream_rdbuf",&obj0)) SWIG_fail;
24458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24459 if (!SWIG_IsOK(res1)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istringstream_rdbuf" "', argument " "1"" of type '" "std::basic_istringstream< char > const *""'");
24462 arg1 =
reinterpret_cast< std::basic_istringstream< char > *
>(argp1);
24463 result = (std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *)((std::basic_istringstream< char >
const *)arg1)->rdbuf();
24464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringbufT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24471 SWIGINTERN PyObject *_wrap_istringstream_str__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24472 PyObject *resultobj = 0;
24473 std::basic_istringstream< char > *arg1 = (std::basic_istringstream< char > *) 0 ;
24476 PyObject * obj0 = 0 ;
24477 basic_string< char,std::char_traits< char >,std::allocator< char > > result;
24479 if (!PyArg_ParseTuple(args,(
char *)
"O:istringstream_str",&obj0)) SWIG_fail;
24480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24481 if (!SWIG_IsOK(res1)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istringstream_str" "', argument " "1"" of type '" "std::basic_istringstream< char > const *""'");
24484 arg1 =
reinterpret_cast< std::basic_istringstream< char > *
>(argp1);
24485 result = ((std::basic_istringstream< char >
const *)arg1)->str();
24486 resultobj = SWIG_NewPointerObj((
new basic_string<
char,std::char_traits< char >,std::allocator< char > >(
static_cast< const basic_string< char,std::char_traits< char >,std::allocator< char >
>& >(result))), SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_OWN | 0 );
24493 SWIGINTERN PyObject *_wrap_istringstream_str__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24494 PyObject *resultobj = 0;
24495 std::basic_istringstream< char > *arg1 = (std::basic_istringstream< char > *) 0 ;
24496 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg2 = 0 ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24504 if (!PyArg_ParseTuple(args,(
char *)
"OO:istringstream_str",&obj0,&obj1)) SWIG_fail;
24505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24506 if (!SWIG_IsOK(res1)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "istringstream_str" "', argument " "1"" of type '" "std::basic_istringstream< char > *""'");
24509 arg1 =
reinterpret_cast< std::basic_istringstream< char > *
>(argp1);
24510 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24511 if (!SWIG_IsOK(res2)) {
24512 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "istringstream_str" "', argument " "2"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24515 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "istringstream_str" "', argument " "2"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24517 arg2 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp2);
24518 (arg1)->str((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg2);
24519 resultobj = SWIG_Py_Void();
24526 SWIGINTERN PyObject *_wrap_istringstream_str(PyObject *
self, PyObject *args) {
24528 PyObject *argv[3] = {
24533 if (!PyTuple_Check(args)) SWIG_fail;
24534 argc = args ? PyObject_Length(args) : 0;
24535 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24536 argv[ii] = PyTuple_GET_ITEM(args,ii);
24541 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24542 _v = SWIG_CheckState(res);
24544 return _wrap_istringstream_str__SWIG_0(
self, args);
24550 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24551 _v = SWIG_CheckState(res);
24553 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24554 _v = SWIG_CheckState(res);
24556 return _wrap_istringstream_str__SWIG_1(
self, args);
24562 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'istringstream_str'.\n"
24563 " Possible C/C++ prototypes are:\n"
24564 " std::basic_istringstream< char >::str() const\n"
24565 " std::basic_istringstream< char >::str(basic_string< char,std::char_traits< char >,std::allocator< char > > const &)\n");
24570 SWIGINTERN PyObject *istringstream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24572 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
24573 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_istringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_NewClientData(obj));
24574 return SWIG_Py_Void();
24577 SWIGINTERN PyObject *_wrap_new_ostringstream__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24578 PyObject *resultobj = 0;
24579 std::ios_base::openmode arg1 ;
24582 PyObject * obj0 = 0 ;
24583 std::basic_ostringstream< char > *result = 0 ;
24585 if (!PyArg_ParseTuple(args,(
char *)
"O:new_ostringstream",&obj0)) SWIG_fail;
24586 ecode1 = SWIG_AsVal_int(obj0, &val1);
24587 if (!SWIG_IsOK(ecode1)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode1),
"in method '" "new_ostringstream" "', argument " "1"" of type '" "std::ios_base::openmode""'");
24590 arg1 = static_cast< std::ios_base::openmode >(val1);
24591 result = (std::basic_ostringstream< char > *)
new std::basic_ostringstream< char >(arg1);
24592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24599 SWIGINTERN PyObject *_wrap_new_ostringstream__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24600 PyObject *resultobj = 0;
24601 std::basic_ostringstream< char > *result = 0 ;
24603 if (!PyArg_ParseTuple(args,(
char *)
":new_ostringstream")) SWIG_fail;
24604 result = (std::basic_ostringstream< char > *)
new std::basic_ostringstream< char >();
24605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24612 SWIGINTERN PyObject *_wrap_new_ostringstream__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24613 PyObject *resultobj = 0;
24614 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24615 std::ios_base::openmode arg2 ;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 std::basic_ostringstream< char > *result = 0 ;
24624 if (!PyArg_ParseTuple(args,(
char *)
"OO:new_ostringstream",&obj0,&obj1)) SWIG_fail;
24625 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24626 if (!SWIG_IsOK(res1)) {
24627 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_ostringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24630 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_ostringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24632 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24633 ecode2 = SWIG_AsVal_int(obj1, &val2);
24634 if (!SWIG_IsOK(ecode2)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "new_ostringstream" "', argument " "2"" of type '" "std::ios_base::openmode""'");
24637 arg2 = static_cast< std::ios_base::openmode >(val2);
24638 result = (std::basic_ostringstream< char > *)
new std::basic_ostringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1,arg2);
24639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24646 SWIGINTERN PyObject *_wrap_new_ostringstream__SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24647 PyObject *resultobj = 0;
24648 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24651 PyObject * obj0 = 0 ;
24652 std::basic_ostringstream< char > *result = 0 ;
24654 if (!PyArg_ParseTuple(args,(
char *)
"O:new_ostringstream",&obj0)) SWIG_fail;
24655 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24656 if (!SWIG_IsOK(res1)) {
24657 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_ostringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24660 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_ostringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24662 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24663 result = (std::basic_ostringstream< char > *)
new std::basic_ostringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1);
24664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24671 SWIGINTERN PyObject *_wrap_new_ostringstream(PyObject *
self, PyObject *args) {
24673 PyObject *argv[3] = {
24678 if (!PyTuple_Check(args)) SWIG_fail;
24679 argc = args ? PyObject_Length(args) : 0;
24680 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24681 argv[ii] = PyTuple_GET_ITEM(args,ii);
24684 return _wrap_new_ostringstream__SWIG_1(
self, args);
24688 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24689 _v = SWIG_CheckState(res);
24691 return _wrap_new_ostringstream__SWIG_3(
self, args);
24697 int res = SWIG_AsVal_int(argv[0], NULL);
24698 _v = SWIG_CheckState(res);
24701 return _wrap_new_ostringstream__SWIG_0(
self, args);
24706 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24707 _v = SWIG_CheckState(res);
24710 int res = SWIG_AsVal_int(argv[1], NULL);
24711 _v = SWIG_CheckState(res);
24714 return _wrap_new_ostringstream__SWIG_2(
self, args);
24720 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'new_ostringstream'.\n"
24721 " Possible C/C++ prototypes are:\n"
24722 " std::basic_ostringstream< char >::basic_ostringstream(std::ios_base::openmode)\n"
24723 " std::basic_ostringstream< char >::basic_ostringstream()\n"
24724 " std::basic_ostringstream< char >::basic_ostringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &,std::ios_base::openmode)\n"
24725 " std::basic_ostringstream< char >::basic_ostringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &)\n");
24730 SWIGINTERN PyObject *_wrap_delete_ostringstream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24731 PyObject *resultobj = 0;
24732 std::basic_ostringstream< char > *arg1 = (std::basic_ostringstream< char > *) 0 ;
24735 PyObject * obj0 = 0 ;
24737 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_ostringstream",&obj0)) SWIG_fail;
24738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_DISOWN | 0 );
24739 if (!SWIG_IsOK(res1)) {
24740 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_ostringstream" "', argument " "1"" of type '" "std::basic_ostringstream< char > *""'");
24742 arg1 =
reinterpret_cast< std::basic_ostringstream< char > *
>(argp1);
24744 resultobj = SWIG_Py_Void();
24751 SWIGINTERN PyObject *_wrap_ostringstream_rdbuf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24752 PyObject *resultobj = 0;
24753 std::basic_ostringstream< char > *arg1 = (std::basic_ostringstream< char > *) 0 ;
24756 PyObject * obj0 = 0 ;
24757 std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *result = 0 ;
24759 if (!PyArg_ParseTuple(args,(
char *)
"O:ostringstream_rdbuf",&obj0)) SWIG_fail;
24760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24761 if (!SWIG_IsOK(res1)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostringstream_rdbuf" "', argument " "1"" of type '" "std::basic_ostringstream< char > const *""'");
24764 arg1 =
reinterpret_cast< std::basic_ostringstream< char > *
>(argp1);
24765 result = (std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *)((std::basic_ostringstream< char >
const *)arg1)->rdbuf();
24766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringbufT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24773 SWIGINTERN PyObject *_wrap_ostringstream_str(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24774 PyObject *resultobj = 0;
24775 std::basic_ostringstream< char > *arg1 = (std::basic_ostringstream< char > *) 0 ;
24778 PyObject * obj0 = 0 ;
24779 basic_string< char,std::char_traits< char >,std::allocator< char > > result;
24781 if (!PyArg_ParseTuple(args,(
char *)
"O:ostringstream_str",&obj0)) SWIG_fail;
24782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24783 if (!SWIG_IsOK(res1)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "ostringstream_str" "', argument " "1"" of type '" "std::basic_ostringstream< char > const *""'");
24786 arg1 =
reinterpret_cast< std::basic_ostringstream< char > *
>(argp1);
24787 result = ((std::basic_ostringstream< char >
const *)arg1)->str();
24788 resultobj = SWIG_NewPointerObj((
new basic_string<
char,std::char_traits< char >,std::allocator< char > >(
static_cast< const basic_string< char,std::char_traits< char >,std::allocator< char >
>& >(result))), SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_OWN | 0 );
24795 SWIGINTERN PyObject *ostringstream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24797 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
24798 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_ostringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_NewClientData(obj));
24799 return SWIG_Py_Void();
24802 SWIGINTERN PyObject *_wrap_new_stringstream__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24803 PyObject *resultobj = 0;
24804 std::ios_base::openmode arg1 ;
24807 PyObject * obj0 = 0 ;
24808 std::basic_stringstream< char > *result = 0 ;
24810 if (!PyArg_ParseTuple(args,(
char *)
"O:new_stringstream",&obj0)) SWIG_fail;
24811 ecode1 = SWIG_AsVal_int(obj0, &val1);
24812 if (!SWIG_IsOK(ecode1)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode1),
"in method '" "new_stringstream" "', argument " "1"" of type '" "std::ios_base::openmode""'");
24815 arg1 = static_cast< std::ios_base::openmode >(val1);
24816 result = (std::basic_stringstream< char > *)
new std::basic_stringstream< char >(arg1);
24817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24824 SWIGINTERN PyObject *_wrap_new_stringstream__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24825 PyObject *resultobj = 0;
24826 std::basic_stringstream< char > *result = 0 ;
24828 if (!PyArg_ParseTuple(args,(
char *)
":new_stringstream")) SWIG_fail;
24829 result = (std::basic_stringstream< char > *)
new std::basic_stringstream< char >();
24830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24837 SWIGINTERN PyObject *_wrap_new_stringstream__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24838 PyObject *resultobj = 0;
24839 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24840 std::ios_base::openmode arg2 ;
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj1 = 0 ;
24847 std::basic_stringstream< char > *result = 0 ;
24849 if (!PyArg_ParseTuple(args,(
char *)
"OO:new_stringstream",&obj0,&obj1)) SWIG_fail;
24850 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24851 if (!SWIG_IsOK(res1)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_stringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24855 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_stringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24857 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24858 ecode2 = SWIG_AsVal_int(obj1, &val2);
24859 if (!SWIG_IsOK(ecode2)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "new_stringstream" "', argument " "2"" of type '" "std::ios_base::openmode""'");
24862 arg2 = static_cast< std::ios_base::openmode >(val2);
24863 result = (std::basic_stringstream< char > *)
new std::basic_stringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1,arg2);
24864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24871 SWIGINTERN PyObject *_wrap_new_stringstream__SWIG_3(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24872 PyObject *resultobj = 0;
24873 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg1 = 0 ;
24876 PyObject * obj0 = 0 ;
24877 std::basic_stringstream< char > *result = 0 ;
24879 if (!PyArg_ParseTuple(args,(
char *)
"O:new_stringstream",&obj0)) SWIG_fail;
24880 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
24881 if (!SWIG_IsOK(res1)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_stringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24885 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_stringstream" "', argument " "1"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
24887 arg1 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp1);
24888 result = (std::basic_stringstream< char > *)
new std::basic_stringstream< char >((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg1);
24889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_NEW | 0 );
24896 SWIGINTERN PyObject *_wrap_new_stringstream(PyObject *
self, PyObject *args) {
24898 PyObject *argv[3] = {
24903 if (!PyTuple_Check(args)) SWIG_fail;
24904 argc = args ? PyObject_Length(args) : 0;
24905 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
24906 argv[ii] = PyTuple_GET_ITEM(args,ii);
24909 return _wrap_new_stringstream__SWIG_1(
self, args);
24913 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24914 _v = SWIG_CheckState(res);
24916 return _wrap_new_stringstream__SWIG_3(
self, args);
24922 int res = SWIG_AsVal_int(argv[0], NULL);
24923 _v = SWIG_CheckState(res);
24926 return _wrap_new_stringstream__SWIG_0(
self, args);
24931 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
24932 _v = SWIG_CheckState(res);
24935 int res = SWIG_AsVal_int(argv[1], NULL);
24936 _v = SWIG_CheckState(res);
24939 return _wrap_new_stringstream__SWIG_2(
self, args);
24945 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'new_stringstream'.\n"
24946 " Possible C/C++ prototypes are:\n"
24947 " std::basic_stringstream< char >::basic_stringstream(std::ios_base::openmode)\n"
24948 " std::basic_stringstream< char >::basic_stringstream()\n"
24949 " std::basic_stringstream< char >::basic_stringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &,std::ios_base::openmode)\n"
24950 " std::basic_stringstream< char >::basic_stringstream(basic_string< char,std::char_traits< char >,std::allocator< char > > const &)\n");
24955 SWIGINTERN PyObject *_wrap_delete_stringstream(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24956 PyObject *resultobj = 0;
24957 std::basic_stringstream< char > *arg1 = (std::basic_stringstream< char > *) 0 ;
24960 PyObject * obj0 = 0 ;
24962 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_stringstream",&obj0)) SWIG_fail;
24963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_DISOWN | 0 );
24964 if (!SWIG_IsOK(res1)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_stringstream" "', argument " "1"" of type '" "std::basic_stringstream< char > *""'");
24967 arg1 =
reinterpret_cast< std::basic_stringstream< char > *
>(argp1);
24969 resultobj = SWIG_Py_Void();
24976 SWIGINTERN PyObject *_wrap_stringstream_rdbuf(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24977 PyObject *resultobj = 0;
24978 std::basic_stringstream< char > *arg1 = (std::basic_stringstream< char > *) 0 ;
24981 PyObject * obj0 = 0 ;
24982 std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *result = 0 ;
24984 if (!PyArg_ParseTuple(args,(
char *)
"O:stringstream_rdbuf",&obj0)) SWIG_fail;
24985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24986 if (!SWIG_IsOK(res1)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "stringstream_rdbuf" "', argument " "1"" of type '" "std::basic_stringstream< char > const *""'");
24989 arg1 =
reinterpret_cast< std::basic_stringstream< char > *
>(argp1);
24990 result = (std::basic_stringbuf< char,std::char_traits< char >,std::allocator< char > > *)((std::basic_stringstream< char >
const *)arg1)->rdbuf();
24991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__basic_stringbufT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
24998 SWIGINTERN PyObject *_wrap_stringstream_str__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
24999 PyObject *resultobj = 0;
25000 std::basic_stringstream< char > *arg1 = (std::basic_stringstream< char > *) 0 ;
25003 PyObject * obj0 = 0 ;
25004 basic_string< char,std::char_traits< char >,std::allocator< char > > result;
25006 if (!PyArg_ParseTuple(args,(
char *)
"O:stringstream_str",&obj0)) SWIG_fail;
25007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "stringstream_str" "', argument " "1"" of type '" "std::basic_stringstream< char > const *""'");
25011 arg1 =
reinterpret_cast< std::basic_stringstream< char > *
>(argp1);
25012 result = ((std::basic_stringstream< char >
const *)arg1)->str();
25013 resultobj = SWIG_NewPointerObj((
new basic_string<
char,std::char_traits< char >,std::allocator< char > >(
static_cast< const basic_string< char,std::char_traits< char >,std::allocator< char >
>& >(result))), SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_POINTER_OWN | 0 );
25020 SWIGINTERN PyObject *_wrap_stringstream_str__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25021 PyObject *resultobj = 0;
25022 std::basic_stringstream< char > *arg1 = (std::basic_stringstream< char > *) 0 ;
25023 basic_string< char,std::char_traits< char >,std::allocator< char > > *arg2 = 0 ;
25028 PyObject * obj0 = 0 ;
25029 PyObject * obj1 = 0 ;
25031 if (!PyArg_ParseTuple(args,(
char *)
"OO:stringstream_str",&obj0,&obj1)) SWIG_fail;
25032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "stringstream_str" "', argument " "1"" of type '" "std::basic_stringstream< char > *""'");
25036 arg1 =
reinterpret_cast< std::basic_stringstream< char > *
>(argp1);
25037 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0 | 0);
25038 if (!SWIG_IsOK(res2)) {
25039 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "stringstream_str" "', argument " "2"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
25042 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "stringstream_str" "', argument " "2"" of type '" "basic_string< char,std::char_traits< char >,std::allocator< char > > const &""'");
25044 arg2 =
reinterpret_cast< basic_string< char,std::char_traits< char >,std::allocator< char >
> * >(argp2);
25045 (arg1)->str((basic_string<
char,std::char_traits< char >,std::allocator< char > >
const &)*arg2);
25046 resultobj = SWIG_Py_Void();
25053 SWIGINTERN PyObject *_wrap_stringstream_str(PyObject *
self, PyObject *args) {
25055 PyObject *argv[3] = {
25060 if (!PyTuple_Check(args)) SWIG_fail;
25061 argc = args ? PyObject_Length(args) : 0;
25062 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
25063 argv[ii] = PyTuple_GET_ITEM(args,ii);
25068 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
25069 _v = SWIG_CheckState(res);
25071 return _wrap_stringstream_str__SWIG_0(
self, args);
25077 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
25078 _v = SWIG_CheckState(res);
25080 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0);
25081 _v = SWIG_CheckState(res);
25083 return _wrap_stringstream_str__SWIG_1(
self, args);
25089 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'stringstream_str'.\n"
25090 " Possible C/C++ prototypes are:\n"
25091 " std::basic_stringstream< char >::str() const\n"
25092 " std::basic_stringstream< char >::str(basic_string< char,std::char_traits< char >,std::allocator< char > > const &)\n");
25097 SWIGINTERN PyObject *stringstream_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25099 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
25100 SWIG_TypeNewClientData(SWIGTYPE_p_std__basic_stringstreamT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, SWIG_NewClientData(obj));
25101 return SWIG_Py_Void();
25104 SWIGINTERN PyObject *_wrap_new_PairIntInt__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25105 PyObject *resultobj = 0;
25106 std::pair< int,int > *result = 0 ;
25108 if (!PyArg_ParseTuple(args,(
char *)
":new_PairIntInt")) SWIG_fail;
25109 result = (std::pair< int,int > *)
new std::pair< int,int >();
25110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NEW | 0 );
25117 SWIGINTERN PyObject *_wrap_new_PairIntInt__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25118 PyObject *resultobj = 0;
25125 PyObject * obj0 = 0 ;
25126 PyObject * obj1 = 0 ;
25127 std::pair< int,int > *result = 0 ;
25129 if (!PyArg_ParseTuple(args,(
char *)
"OO:new_PairIntInt",&obj0,&obj1)) SWIG_fail;
25130 ecode1 = SWIG_AsVal_int(obj0, &val1);
25131 if (!SWIG_IsOK(ecode1)) {
25132 SWIG_exception_fail(SWIG_ArgError(ecode1),
"in method '" "new_PairIntInt" "', argument " "1"" of type '" "int""'");
25134 arg1 = static_cast< int >(val1);
25135 ecode2 = SWIG_AsVal_int(obj1, &val2);
25136 if (!SWIG_IsOK(ecode2)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "new_PairIntInt" "', argument " "2"" of type '" "int""'");
25139 arg2 = static_cast< int >(val2);
25140 result = (std::pair< int,int > *)
new std::pair< int,int >(arg1,arg2);
25141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NEW | 0 );
25148 SWIGINTERN PyObject *_wrap_new_PairIntInt__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25149 PyObject *resultobj = 0;
25150 std::pair< int,int > *arg1 = 0 ;
25151 int res1 = SWIG_OLDOBJ ;
25152 PyObject * obj0 = 0 ;
25153 std::pair< int,int > *result = 0 ;
25155 if (!PyArg_ParseTuple(args,(
char *)
"O:new_PairIntInt",&obj0)) SWIG_fail;
25157 std::pair< int,int > *ptr = (std::pair< int,int > *)0;
25158 res1 = swig::asptr(obj0, &ptr);
25159 if (!SWIG_IsOK(res1)) {
25160 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_PairIntInt" "', argument " "1"" of type '" "std::pair< int,int > const &""'");
25163 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_PairIntInt" "', argument " "1"" of type '" "std::pair< int,int > const &""'");
25167 result = (std::pair< int,int > *)
new std::pair< int,int >((std::pair< int,int >
const &)*arg1);
25168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_NEW | 0 );
25169 if (SWIG_IsNewObj(res1))
delete arg1;
25172 if (SWIG_IsNewObj(res1))
delete arg1;
25177 SWIGINTERN PyObject *_wrap_new_PairIntInt(PyObject *
self, PyObject *args) {
25179 PyObject *argv[3] = {
25184 if (!PyTuple_Check(args)) SWIG_fail;
25185 argc = args ? PyObject_Length(args) : 0;
25186 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
25187 argv[ii] = PyTuple_GET_ITEM(args,ii);
25190 return _wrap_new_PairIntInt__SWIG_0(
self, args);
25194 int res = swig::asptr(argv[0], (std::pair< int,int >**)(0));
25195 _v = SWIG_CheckState(res);
25197 return _wrap_new_PairIntInt__SWIG_2(
self, args);
25203 int res = SWIG_AsVal_int(argv[0], NULL);
25204 _v = SWIG_CheckState(res);
25208 int res = SWIG_AsVal_int(argv[1], NULL);
25209 _v = SWIG_CheckState(res);
25212 return _wrap_new_PairIntInt__SWIG_1(
self, args);
25218 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'new_PairIntInt'.\n"
25219 " Possible C/C++ prototypes are:\n"
25220 " std::pair< int,int >::pair()\n"
25221 " std::pair< int,int >::pair(int,int)\n"
25222 " std::pair< int,int >::pair(std::pair< int,int > const &)\n");
25227 SWIGINTERN PyObject *_wrap_PairIntInt_first_set(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25228 PyObject *resultobj = 0;
25229 std::pair< int,int > *arg1 = (std::pair< int,int > *) 0 ;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25238 if (!PyArg_ParseTuple(args,(
char *)
"OO:PairIntInt_first_set",&obj0,&obj1)) SWIG_fail;
25239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__pairT_int_int_t, 0 | 0 );
25240 if (!SWIG_IsOK(res1)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "PairIntInt_first_set" "', argument " "1"" of type '" "std::pair< int,int > *""'");
25243 arg1 =
reinterpret_cast< std::pair< int,int > *
>(argp1);
25244 ecode2 = SWIG_AsVal_int(obj1, &val2);
25245 if (!SWIG_IsOK(ecode2)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "PairIntInt_first_set" "', argument " "2"" of type '" "int""'");
25248 arg2 = static_cast< int >(val2);
25249 if (arg1) (arg1)->first = arg2;
25250 resultobj = SWIG_Py_Void();
25257 SWIGINTERN PyObject *_wrap_PairIntInt_first_get(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25258 PyObject *resultobj = 0;
25259 std::pair< int,int > *arg1 = (std::pair< int,int > *) 0 ;
25262 PyObject * obj0 = 0 ;
25265 if (!PyArg_ParseTuple(args,(
char *)
"O:PairIntInt_first_get",&obj0)) SWIG_fail;
25266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__pairT_int_int_t, 0 | 0 );
25267 if (!SWIG_IsOK(res1)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "PairIntInt_first_get" "', argument " "1"" of type '" "std::pair< int,int > *""'");
25270 arg1 =
reinterpret_cast< std::pair< int,int > *
>(argp1);
25271 result = (int) ((arg1)->first);
25272 resultobj = SWIG_From_int(static_cast< int >(result));
25279 SWIGINTERN PyObject *_wrap_PairIntInt_second_set(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25280 PyObject *resultobj = 0;
25281 std::pair< int,int > *arg1 = (std::pair< int,int > *) 0 ;
25287 PyObject * obj0 = 0 ;
25288 PyObject * obj1 = 0 ;
25290 if (!PyArg_ParseTuple(args,(
char *)
"OO:PairIntInt_second_set",&obj0,&obj1)) SWIG_fail;
25291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__pairT_int_int_t, 0 | 0 );
25292 if (!SWIG_IsOK(res1)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "PairIntInt_second_set" "', argument " "1"" of type '" "std::pair< int,int > *""'");
25295 arg1 =
reinterpret_cast< std::pair< int,int > *
>(argp1);
25296 ecode2 = SWIG_AsVal_int(obj1, &val2);
25297 if (!SWIG_IsOK(ecode2)) {
25298 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "PairIntInt_second_set" "', argument " "2"" of type '" "int""'");
25300 arg2 = static_cast< int >(val2);
25301 if (arg1) (arg1)->second = arg2;
25302 resultobj = SWIG_Py_Void();
25309 SWIGINTERN PyObject *_wrap_PairIntInt_second_get(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25310 PyObject *resultobj = 0;
25311 std::pair< int,int > *arg1 = (std::pair< int,int > *) 0 ;
25314 PyObject * obj0 = 0 ;
25317 if (!PyArg_ParseTuple(args,(
char *)
"O:PairIntInt_second_get",&obj0)) SWIG_fail;
25318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__pairT_int_int_t, 0 | 0 );
25319 if (!SWIG_IsOK(res1)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "PairIntInt_second_get" "', argument " "1"" of type '" "std::pair< int,int > *""'");
25322 arg1 =
reinterpret_cast< std::pair< int,int > *
>(argp1);
25323 result = (int) ((arg1)->second);
25324 resultobj = SWIG_From_int(static_cast< int >(result));
25331 SWIGINTERN PyObject *_wrap_delete_PairIntInt(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25332 PyObject *resultobj = 0;
25333 std::pair< int,int > *arg1 = (std::pair< int,int > *) 0 ;
25336 PyObject * obj0 = 0 ;
25338 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_PairIntInt",&obj0)) SWIG_fail;
25339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__pairT_int_int_t, SWIG_POINTER_DISOWN | 0 );
25340 if (!SWIG_IsOK(res1)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_PairIntInt" "', argument " "1"" of type '" "std::pair< int,int > *""'");
25343 arg1 =
reinterpret_cast< std::pair< int,int > *
>(argp1);
25345 resultobj = SWIG_Py_Void();
25352 SWIGINTERN PyObject *PairIntInt_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25354 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
25355 SWIG_TypeNewClientData(SWIGTYPE_p_std__pairT_int_int_t, SWIG_NewClientData(obj));
25356 return SWIG_Py_Void();
25359 SWIGINTERN PyObject *_wrap_new_MapIntInt__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25360 PyObject *resultobj = 0;
25361 std::less< int > *arg1 = 0 ;
25364 PyObject * obj0 = 0 ;
25365 std::map< int,int > *result = 0 ;
25367 if (!PyArg_ParseTuple(args,(
char *)
"O:new_MapIntInt",&obj0)) SWIG_fail;
25368 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_int_t, 0 | 0);
25369 if (!SWIG_IsOK(res1)) {
25370 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_MapIntInt" "', argument " "1"" of type '" "std::less< int > const &""'");
25373 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_MapIntInt" "', argument " "1"" of type '" "std::less< int > const &""'");
25375 arg1 =
reinterpret_cast< std::less< int > *
>(argp1);
25376 result = (std::map< int,int > *)
new std::map< int,int >((std::less< int >
const &)*arg1);
25377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, SWIG_POINTER_NEW | 0 );
25384 SWIGINTERN PyObject *_wrap_MapIntInt_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25385 PyObject *resultobj = 0;
25386 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25387 PyObject **arg2 = (PyObject **) 0 ;
25390 PyObject * obj0 = 0 ;
25394 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_iterator",&obj0)) SWIG_fail;
25395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25396 if (!SWIG_IsOK(res1)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_iterator" "', argument " "1"" of type '" "std::map< int,int > *""'");
25399 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
25408 SWIGINTERN PyObject *_wrap_MapIntInt___nonzero__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25409 PyObject *resultobj = 0;
25410 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25413 PyObject * obj0 = 0 ;
25416 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt___nonzero__",&obj0)) SWIG_fail;
25417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25418 if (!SWIG_IsOK(res1)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___nonzero__" "', argument " "1"" of type '" "std::map< int,int > const *""'");
25421 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25422 result = (bool)std_map_Sl_int_Sc_int_Sg____nonzero__((std::map< int,int >
const *)arg1);
25423 resultobj = SWIG_From_bool(static_cast< bool >(result));
25430 SWIGINTERN PyObject *_wrap_MapIntInt___bool__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25431 PyObject *resultobj = 0;
25432 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25435 PyObject * obj0 = 0 ;
25438 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt___bool__",&obj0)) SWIG_fail;
25439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25440 if (!SWIG_IsOK(res1)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___bool__" "', argument " "1"" of type '" "std::map< int,int > const *""'");
25443 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25444 result = (bool)std_map_Sl_int_Sc_int_Sg____bool__((std::map< int,int >
const *)arg1);
25445 resultobj = SWIG_From_bool(static_cast< bool >(result));
25452 SWIGINTERN PyObject *_wrap_MapIntInt___len__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25453 PyObject *resultobj = 0;
25454 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25457 PyObject * obj0 = 0 ;
25458 std::map< int,int >::size_type result;
25460 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt___len__",&obj0)) SWIG_fail;
25461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25462 if (!SWIG_IsOK(res1)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___len__" "', argument " "1"" of type '" "std::map< int,int > const *""'");
25465 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25466 result = std_map_Sl_int_Sc_int_Sg____len__((std::map< int,int >
const *)arg1);
25467 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25474 SWIGINTERN PyObject *_wrap_MapIntInt___getitem__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25475 PyObject *resultobj = 0;
25476 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25477 std::map< int,int >::key_type *arg2 = 0 ;
25480 std::map< int,int >::key_type temp2 ;
25483 PyObject * obj0 = 0 ;
25484 PyObject * obj1 = 0 ;
25485 std::map< int,int >::mapped_type *result = 0 ;
25487 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt___getitem__",&obj0,&obj1)) SWIG_fail;
25488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25489 if (!SWIG_IsOK(res1)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___getitem__" "', argument " "1"" of type '" "std::map< int,int > *""'");
25492 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25493 ecode2 = SWIG_AsVal_int(obj1, &val2);
25494 if (!SWIG_IsOK(ecode2)) {
25495 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt___getitem__" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25497 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25500 result = (std::map< int,int >::mapped_type *) &std_map_Sl_int_Sc_int_Sg____getitem__(arg1,(
int const &)*arg2);
25502 catch(std::out_of_range &_e) {
25503 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25506 resultobj = SWIG_From_int(static_cast< int >(*result));
25513 SWIGINTERN PyObject *_wrap_MapIntInt___delitem__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25514 PyObject *resultobj = 0;
25515 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25516 std::map< int,int >::key_type *arg2 = 0 ;
25519 std::map< int,int >::key_type temp2 ;
25522 PyObject * obj0 = 0 ;
25523 PyObject * obj1 = 0 ;
25525 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt___delitem__",&obj0,&obj1)) SWIG_fail;
25526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25527 if (!SWIG_IsOK(res1)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___delitem__" "', argument " "1"" of type '" "std::map< int,int > *""'");
25530 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25531 ecode2 = SWIG_AsVal_int(obj1, &val2);
25532 if (!SWIG_IsOK(ecode2)) {
25533 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt___delitem__" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25535 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25538 std_map_Sl_int_Sc_int_Sg____delitem__(arg1,(
int const &)*arg2);
25540 catch(std::out_of_range &_e) {
25541 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25544 resultobj = SWIG_Py_Void();
25551 SWIGINTERN PyObject *_wrap_MapIntInt_has_key(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25552 PyObject *resultobj = 0;
25553 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25554 std::map< int,int >::key_type *arg2 = 0 ;
25557 std::map< int,int >::key_type temp2 ;
25560 PyObject * obj0 = 0 ;
25561 PyObject * obj1 = 0 ;
25564 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_has_key",&obj0,&obj1)) SWIG_fail;
25565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25566 if (!SWIG_IsOK(res1)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_has_key" "', argument " "1"" of type '" "std::map< int,int > const *""'");
25569 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25570 ecode2 = SWIG_AsVal_int(obj1, &val2);
25571 if (!SWIG_IsOK(ecode2)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_has_key" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25574 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25576 result = (bool)std_map_Sl_int_Sc_int_Sg__has_key((std::map< int,int >
const *)arg1,(
int const &)*arg2);
25577 resultobj = SWIG_From_bool(static_cast< bool >(result));
25584 SWIGINTERN PyObject *_wrap_MapIntInt_keys(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25585 PyObject *resultobj = 0;
25586 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25589 PyObject * obj0 = 0 ;
25590 PyObject *result = 0 ;
25592 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_keys",&obj0)) SWIG_fail;
25593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25594 if (!SWIG_IsOK(res1)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_keys" "', argument " "1"" of type '" "std::map< int,int > *""'");
25597 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25598 result = (PyObject *)std_map_Sl_int_Sc_int_Sg__keys(arg1);
25599 resultobj = result;
25606 SWIGINTERN PyObject *_wrap_MapIntInt_values(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25607 PyObject *resultobj = 0;
25608 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25611 PyObject * obj0 = 0 ;
25612 PyObject *result = 0 ;
25614 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_values",&obj0)) SWIG_fail;
25615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25616 if (!SWIG_IsOK(res1)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_values" "', argument " "1"" of type '" "std::map< int,int > *""'");
25619 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25620 result = (PyObject *)std_map_Sl_int_Sc_int_Sg__values(arg1);
25621 resultobj = result;
25628 SWIGINTERN PyObject *_wrap_MapIntInt_items(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25629 PyObject *resultobj = 0;
25630 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25633 PyObject * obj0 = 0 ;
25634 PyObject *result = 0 ;
25636 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_items",&obj0)) SWIG_fail;
25637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25638 if (!SWIG_IsOK(res1)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_items" "', argument " "1"" of type '" "std::map< int,int > *""'");
25641 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25642 result = (PyObject *)std_map_Sl_int_Sc_int_Sg__items(arg1);
25643 resultobj = result;
25650 SWIGINTERN PyObject *_wrap_MapIntInt___contains__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25651 PyObject *resultobj = 0;
25652 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25653 std::map< int,int >::key_type *arg2 = 0 ;
25656 std::map< int,int >::key_type temp2 ;
25659 PyObject * obj0 = 0 ;
25660 PyObject * obj1 = 0 ;
25663 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt___contains__",&obj0,&obj1)) SWIG_fail;
25664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25665 if (!SWIG_IsOK(res1)) {
25666 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___contains__" "', argument " "1"" of type '" "std::map< int,int > *""'");
25668 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25669 ecode2 = SWIG_AsVal_int(obj1, &val2);
25670 if (!SWIG_IsOK(ecode2)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt___contains__" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25673 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25675 result = (bool)std_map_Sl_int_Sc_int_Sg____contains__(arg1,(
int const &)*arg2);
25676 resultobj = SWIG_From_bool(static_cast< bool >(result));
25683 SWIGINTERN PyObject *_wrap_MapIntInt_key_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25684 PyObject *resultobj = 0;
25685 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25686 PyObject **arg2 = (PyObject **) 0 ;
25689 PyObject * obj0 = 0 ;
25693 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_key_iterator",&obj0)) SWIG_fail;
25694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25695 if (!SWIG_IsOK(res1)) {
25696 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_key_iterator" "', argument " "1"" of type '" "std::map< int,int > *""'");
25698 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25700 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
25707 SWIGINTERN PyObject *_wrap_MapIntInt_value_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25708 PyObject *resultobj = 0;
25709 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25710 PyObject **arg2 = (PyObject **) 0 ;
25713 PyObject * obj0 = 0 ;
25717 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_value_iterator",&obj0)) SWIG_fail;
25718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25719 if (!SWIG_IsOK(res1)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_value_iterator" "', argument " "1"" of type '" "std::map< int,int > *""'");
25722 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
25731 SWIGINTERN PyObject *_wrap_MapIntInt___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25732 PyObject *resultobj = 0;
25733 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25734 std::map< int,int >::key_type *arg2 = 0 ;
25737 std::map< int,int >::key_type temp2 ;
25740 PyObject * obj0 = 0 ;
25741 PyObject * obj1 = 0 ;
25743 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt___setitem__",&obj0,&obj1)) SWIG_fail;
25744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___setitem__" "', argument " "1"" of type '" "std::map< int,int > *""'");
25748 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25749 ecode2 = SWIG_AsVal_int(obj1, &val2);
25750 if (!SWIG_IsOK(ecode2)) {
25751 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt___setitem__" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25753 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25755 std_map_Sl_int_Sc_int_Sg____setitem____SWIG_0(arg1,(
int const &)*arg2);
25756 resultobj = SWIG_Py_Void();
25763 SWIGINTERN PyObject *_wrap_MapIntInt___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25764 PyObject *resultobj = 0;
25765 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25766 std::map< int,int >::key_type *arg2 = 0 ;
25767 std::map< int,int >::mapped_type *arg3 = 0 ;
25770 std::map< int,int >::key_type temp2 ;
25773 std::map< int,int >::mapped_type temp3 ;
25776 PyObject * obj0 = 0 ;
25777 PyObject * obj1 = 0 ;
25778 PyObject * obj2 = 0 ;
25780 if (!PyArg_ParseTuple(args,(
char *)
"OOO:MapIntInt___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
25781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt___setitem__" "', argument " "1"" of type '" "std::map< int,int > *""'");
25785 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25786 ecode2 = SWIG_AsVal_int(obj1, &val2);
25787 if (!SWIG_IsOK(ecode2)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt___setitem__" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
25790 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
25792 ecode3 = SWIG_AsVal_int(obj2, &val3);
25793 if (!SWIG_IsOK(ecode3)) {
25794 SWIG_exception_fail(SWIG_ArgError(ecode3),
"in method '" "MapIntInt___setitem__" "', argument " "3"" of type '" "std::map< int,int >::mapped_type""'");
25796 temp3 =
static_cast< std::map< int,int >::mapped_type
>(val3);
25799 std_map_Sl_int_Sc_int_Sg____setitem____SWIG_1(arg1,(
int const &)*arg2,(
int const &)*arg3);
25801 catch(std::out_of_range &_e) {
25802 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
25805 resultobj = SWIG_Py_Void();
25812 SWIGINTERN PyObject *_wrap_MapIntInt___setitem__(PyObject *
self, PyObject *args) {
25814 PyObject *argv[4] = {
25819 if (!PyTuple_Check(args)) SWIG_fail;
25820 argc = args ? PyObject_Length(args) : 0;
25821 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
25822 argv[ii] = PyTuple_GET_ITEM(args,ii);
25826 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
25827 _v = SWIG_CheckState(res);
25830 int res = SWIG_AsVal_int(argv[1], NULL);
25831 _v = SWIG_CheckState(res);
25834 return _wrap_MapIntInt___setitem____SWIG_0(
self, args);
25840 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
25841 _v = SWIG_CheckState(res);
25844 int res = SWIG_AsVal_int(argv[1], NULL);
25845 _v = SWIG_CheckState(res);
25849 int res = SWIG_AsVal_int(argv[2], NULL);
25850 _v = SWIG_CheckState(res);
25853 return _wrap_MapIntInt___setitem____SWIG_1(
self, args);
25860 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'MapIntInt___setitem__'.\n"
25861 " Possible C/C++ prototypes are:\n"
25862 " std::map< int,int >::__setitem__(std::map< int,int >::key_type const &)\n"
25863 " std::map< int,int >::__setitem__(std::map< int,int >::key_type const &,std::map< int,int >::mapped_type const &)\n");
25868 SWIGINTERN PyObject *_wrap_MapIntInt_asdict(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25869 PyObject *resultobj = 0;
25870 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25873 PyObject * obj0 = 0 ;
25874 PyObject *result = 0 ;
25876 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_asdict",&obj0)) SWIG_fail;
25877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25878 if (!SWIG_IsOK(res1)) {
25879 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_asdict" "', argument " "1"" of type '" "std::map< int,int > *""'");
25881 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25882 result = (PyObject *)std_map_Sl_int_Sc_int_Sg__asdict(arg1);
25883 resultobj = result;
25890 SWIGINTERN PyObject *_wrap_new_MapIntInt__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25891 PyObject *resultobj = 0;
25892 std::map< int,int > *result = 0 ;
25894 if (!PyArg_ParseTuple(args,(
char *)
":new_MapIntInt")) SWIG_fail;
25895 result = (std::map< int,int > *)
new std::map< int,int >();
25896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, SWIG_POINTER_NEW | 0 );
25903 SWIGINTERN PyObject *_wrap_new_MapIntInt__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25904 PyObject *resultobj = 0;
25905 std::map< int,int > *arg1 = 0 ;
25906 int res1 = SWIG_OLDOBJ ;
25907 PyObject * obj0 = 0 ;
25908 std::map< int,int > *result = 0 ;
25910 if (!PyArg_ParseTuple(args,(
char *)
"O:new_MapIntInt",&obj0)) SWIG_fail;
25912 std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > > *ptr = (std::map< int,int,std::less< int >,std::allocator< std::pair< int const,int > > > *)0;
25913 res1 = swig::asptr(obj0, &ptr);
25914 if (!SWIG_IsOK(res1)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_MapIntInt" "', argument " "1"" of type '" "std::map< int,int > const &""'");
25918 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_MapIntInt" "', argument " "1"" of type '" "std::map< int,int > const &""'");
25922 result = (std::map< int,int > *)
new std::map< int,int >((std::map< int,int >
const &)*arg1);
25923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, SWIG_POINTER_NEW | 0 );
25924 if (SWIG_IsNewObj(res1))
delete arg1;
25927 if (SWIG_IsNewObj(res1))
delete arg1;
25932 SWIGINTERN PyObject *_wrap_new_MapIntInt(PyObject *
self, PyObject *args) {
25934 PyObject *argv[2] = {
25939 if (!PyTuple_Check(args)) SWIG_fail;
25940 argc = args ? PyObject_Length(args) : 0;
25941 for (ii = 0; (ii < 1) && (ii < argc); ii++) {
25942 argv[ii] = PyTuple_GET_ITEM(args,ii);
25945 return _wrap_new_MapIntInt__SWIG_1(
self, args);
25949 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__lessT_int_t, 0);
25950 _v = SWIG_CheckState(res);
25952 return _wrap_new_MapIntInt__SWIG_0(
self, args);
25957 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
25958 _v = SWIG_CheckState(res);
25960 return _wrap_new_MapIntInt__SWIG_2(
self, args);
25965 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'new_MapIntInt'.\n"
25966 " Possible C/C++ prototypes are:\n"
25967 " std::map< int,int >::map(std::less< int > const &)\n"
25968 " std::map< int,int >::map()\n"
25969 " std::map< int,int >::map(std::map< int,int > const &)\n");
25974 SWIGINTERN PyObject *_wrap_MapIntInt_empty(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25975 PyObject *resultobj = 0;
25976 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
25979 PyObject * obj0 = 0 ;
25982 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_empty",&obj0)) SWIG_fail;
25983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
25984 if (!SWIG_IsOK(res1)) {
25985 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_empty" "', argument " "1"" of type '" "std::map< int,int > const *""'");
25987 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
25988 result = (bool)((std::map< int,int >
const *)arg1)->empty();
25989 resultobj = SWIG_From_bool(static_cast< bool >(result));
25996 SWIGINTERN PyObject *_wrap_MapIntInt_size(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
25997 PyObject *resultobj = 0;
25998 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26001 PyObject * obj0 = 0 ;
26002 std::map< int,int >::size_type result;
26004 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_size",&obj0)) SWIG_fail;
26005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26006 if (!SWIG_IsOK(res1)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_size" "', argument " "1"" of type '" "std::map< int,int > const *""'");
26009 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26010 result = ((std::map< int,int >
const *)arg1)->size();
26011 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26018 SWIGINTERN PyObject *_wrap_MapIntInt_swap(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26019 PyObject *resultobj = 0;
26020 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26021 std::map< int,int > *arg2 = 0 ;
26026 PyObject * obj0 = 0 ;
26027 PyObject * obj1 = 0 ;
26029 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_swap",&obj0,&obj1)) SWIG_fail;
26030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26031 if (!SWIG_IsOK(res1)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_swap" "', argument " "1"" of type '" "std::map< int,int > *""'");
26034 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 );
26036 if (!SWIG_IsOK(res2)) {
26037 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapIntInt_swap" "', argument " "2"" of type '" "std::map< int,int > &""'");
26040 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapIntInt_swap" "', argument " "2"" of type '" "std::map< int,int > &""'");
26042 arg2 =
reinterpret_cast< std::map< int,int > *
>(argp2);
26043 (arg1)->swap(*arg2);
26044 resultobj = SWIG_Py_Void();
26051 SWIGINTERN PyObject *_wrap_MapIntInt_begin(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26052 PyObject *resultobj = 0;
26053 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26056 PyObject * obj0 = 0 ;
26057 std::map< int,int >::iterator result;
26059 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_begin",&obj0)) SWIG_fail;
26060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26061 if (!SWIG_IsOK(res1)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_begin" "', argument " "1"" of type '" "std::map< int,int > *""'");
26064 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26065 result = (arg1)->begin();
26066 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::iterator &
>(result)),
26067 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26074 SWIGINTERN PyObject *_wrap_MapIntInt_end(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26075 PyObject *resultobj = 0;
26076 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26079 PyObject * obj0 = 0 ;
26080 std::map< int,int >::iterator result;
26082 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_end",&obj0)) SWIG_fail;
26083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26084 if (!SWIG_IsOK(res1)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_end" "', argument " "1"" of type '" "std::map< int,int > *""'");
26087 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26088 result = (arg1)->end();
26089 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::iterator &
>(result)),
26090 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26097 SWIGINTERN PyObject *_wrap_MapIntInt_rbegin(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26098 PyObject *resultobj = 0;
26099 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26102 PyObject * obj0 = 0 ;
26103 std::map< int,int >::reverse_iterator result;
26105 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_rbegin",&obj0)) SWIG_fail;
26106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26107 if (!SWIG_IsOK(res1)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_rbegin" "', argument " "1"" of type '" "std::map< int,int > *""'");
26110 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26111 result = (arg1)->rbegin();
26112 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::reverse_iterator &
>(result)),
26113 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26120 SWIGINTERN PyObject *_wrap_MapIntInt_rend(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26125 PyObject * obj0 = 0 ;
26126 std::map< int,int >::reverse_iterator result;
26128 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_rend",&obj0)) SWIG_fail;
26129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26130 if (!SWIG_IsOK(res1)) {
26131 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_rend" "', argument " "1"" of type '" "std::map< int,int > *""'");
26133 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26134 result = (arg1)->rend();
26135 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::reverse_iterator &
>(result)),
26136 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26143 SWIGINTERN PyObject *_wrap_MapIntInt_clear(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26144 PyObject *resultobj = 0;
26145 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26148 PyObject * obj0 = 0 ;
26150 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_clear",&obj0)) SWIG_fail;
26151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26152 if (!SWIG_IsOK(res1)) {
26153 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_clear" "', argument " "1"" of type '" "std::map< int,int > *""'");
26155 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26157 resultobj = SWIG_Py_Void();
26164 SWIGINTERN PyObject *_wrap_MapIntInt_get_allocator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26165 PyObject *resultobj = 0;
26166 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26169 PyObject * obj0 = 0 ;
26170 SwigValueWrapper< std::allocator< std::pair< int const,int > > > result;
26172 if (!PyArg_ParseTuple(args,(
char *)
"O:MapIntInt_get_allocator",&obj0)) SWIG_fail;
26173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26174 if (!SWIG_IsOK(res1)) {
26175 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_get_allocator" "', argument " "1"" of type '" "std::map< int,int > const *""'");
26177 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26178 result = ((std::map< int,int >
const *)arg1)->get_allocator();
26179 resultobj = SWIG_NewPointerObj((
new std::map< int,int >::allocator_type(
static_cast< const std::map< int,int >::allocator_type&
>(result))), SWIGTYPE_p_std__allocatorT_std__pairT_int_const_int_t_t, SWIG_POINTER_OWN | 0 );
26186 SWIGINTERN PyObject *_wrap_MapIntInt_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26187 PyObject *resultobj = 0;
26188 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26189 std::map< int,int >::key_type *arg2 = 0 ;
26192 std::map< int,int >::key_type temp2 ;
26195 PyObject * obj0 = 0 ;
26196 PyObject * obj1 = 0 ;
26197 std::map< int,int >::size_type result;
26199 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_erase",&obj0,&obj1)) SWIG_fail;
26200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26201 if (!SWIG_IsOK(res1)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_erase" "', argument " "1"" of type '" "std::map< int,int > *""'");
26204 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26205 ecode2 = SWIG_AsVal_int(obj1, &val2);
26206 if (!SWIG_IsOK(ecode2)) {
26207 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_erase" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
26209 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
26211 result = (arg1)->erase((std::map< int,int >::key_type
const &)*arg2);
26212 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26219 SWIGINTERN PyObject *_wrap_MapIntInt_count(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26220 PyObject *resultobj = 0;
26221 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26222 std::map< int,int >::key_type *arg2 = 0 ;
26225 std::map< int,int >::key_type temp2 ;
26228 PyObject * obj0 = 0 ;
26229 PyObject * obj1 = 0 ;
26230 std::map< int,int >::size_type result;
26232 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_count",&obj0,&obj1)) SWIG_fail;
26233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26234 if (!SWIG_IsOK(res1)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_count" "', argument " "1"" of type '" "std::map< int,int > const *""'");
26237 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26238 ecode2 = SWIG_AsVal_int(obj1, &val2);
26239 if (!SWIG_IsOK(ecode2)) {
26240 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_count" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
26242 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
26244 result = ((std::map< int,int >
const *)arg1)->count((std::map< int,int >::key_type
const &)*arg2);
26245 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26252 SWIGINTERN PyObject *_wrap_MapIntInt_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26253 PyObject *resultobj = 0;
26254 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26255 std::map< int,int >::iterator arg2 ;
26260 PyObject * obj0 = 0 ;
26261 PyObject * obj1 = 0 ;
26263 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_erase",&obj0,&obj1)) SWIG_fail;
26264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26265 if (!SWIG_IsOK(res1)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_erase" "', argument " "1"" of type '" "std::map< int,int > *""'");
26268 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26269 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26270 if (!SWIG_IsOK(res2) || !iter2) {
26271 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "2"" of type '" "std::map< int,int >::iterator""'");
26275 arg2 = iter_t->get_current();
26277 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "2"" of type '" "std::map< int,int >::iterator""'");
26280 std_map_Sl_int_Sc_int_Sg__erase__SWIG_1(arg1,arg2);
26281 resultobj = SWIG_Py_Void();
26288 SWIGINTERN PyObject *_wrap_MapIntInt_erase__SWIG_2(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26289 PyObject *resultobj = 0;
26290 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26291 std::map< int,int >::iterator arg2 ;
26292 std::map< int,int >::iterator arg3 ;
26299 PyObject * obj0 = 0 ;
26300 PyObject * obj1 = 0 ;
26301 PyObject * obj2 = 0 ;
26303 if (!PyArg_ParseTuple(args,(
char *)
"OOO:MapIntInt_erase",&obj0,&obj1,&obj2)) SWIG_fail;
26304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26305 if (!SWIG_IsOK(res1)) {
26306 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_erase" "', argument " "1"" of type '" "std::map< int,int > *""'");
26308 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26309 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0);
26310 if (!SWIG_IsOK(res2) || !iter2) {
26311 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "2"" of type '" "std::map< int,int >::iterator""'");
26315 arg2 = iter_t->get_current();
26317 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "2"" of type '" "std::map< int,int >::iterator""'");
26320 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0);
26321 if (!SWIG_IsOK(res3) || !iter3) {
26322 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "3"" of type '" "std::map< int,int >::iterator""'");
26326 arg3 = iter_t->get_current();
26328 SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError),
"in method '" "MapIntInt_erase" "', argument " "3"" of type '" "std::map< int,int >::iterator""'");
26331 std_map_Sl_int_Sc_int_Sg__erase__SWIG_2(arg1,arg2,arg3);
26332 resultobj = SWIG_Py_Void();
26339 SWIGINTERN PyObject *_wrap_MapIntInt_erase(PyObject *
self, PyObject *args) {
26341 PyObject *argv[4] = {
26346 if (!PyTuple_Check(args)) SWIG_fail;
26347 argc = args ? PyObject_Length(args) : 0;
26348 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
26349 argv[ii] = PyTuple_GET_ITEM(args,ii);
26353 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
26354 _v = SWIG_CheckState(res);
26357 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26360 return _wrap_MapIntInt_erase__SWIG_1(
self, args);
26366 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
26367 _v = SWIG_CheckState(res);
26370 int res = SWIG_AsVal_int(argv[1], NULL);
26371 _v = SWIG_CheckState(res);
26374 return _wrap_MapIntInt_erase__SWIG_0(
self, args);
26380 int res = swig::asptr(argv[0], (std::map<
int,
int,std::less< int >,std::allocator< std::pair< int const,int > > >**)(0));
26381 _v = SWIG_CheckState(res);
26384 int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26388 int res = SWIG_ConvertPtr(argv[2], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0);
26391 return _wrap_MapIntInt_erase__SWIG_2(
self, args);
26398 SWIG_SetErrorMsg(PyExc_NotImplementedError,
"Wrong number or type of arguments for overloaded function 'MapIntInt_erase'.\n"
26399 " Possible C/C++ prototypes are:\n"
26400 " std::map< int,int >::erase(std::map< int,int >::key_type const &)\n"
26401 " std::map< int,int >::erase(std::map< int,int >::iterator)\n"
26402 " std::map< int,int >::erase(std::map< int,int >::iterator,std::map< int,int >::iterator)\n");
26407 SWIGINTERN PyObject *_wrap_MapIntInt_find(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26408 PyObject *resultobj = 0;
26409 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26410 std::map< int,int >::key_type *arg2 = 0 ;
26413 std::map< int,int >::key_type temp2 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 std::map< int,int >::iterator result;
26420 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_find",&obj0,&obj1)) SWIG_fail;
26421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26422 if (!SWIG_IsOK(res1)) {
26423 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_find" "', argument " "1"" of type '" "std::map< int,int > *""'");
26425 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26426 ecode2 = SWIG_AsVal_int(obj1, &val2);
26427 if (!SWIG_IsOK(ecode2)) {
26428 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_find" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
26430 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
26432 result = (arg1)->find((std::map< int,int >::key_type
const &)*arg2);
26433 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::iterator &
>(result)),
26434 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26441 SWIGINTERN PyObject *_wrap_MapIntInt_lower_bound(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26442 PyObject *resultobj = 0;
26443 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26444 std::map< int,int >::key_type *arg2 = 0 ;
26447 std::map< int,int >::key_type temp2 ;
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 std::map< int,int >::iterator result;
26454 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_lower_bound",&obj0,&obj1)) SWIG_fail;
26455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26456 if (!SWIG_IsOK(res1)) {
26457 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_lower_bound" "', argument " "1"" of type '" "std::map< int,int > *""'");
26459 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26460 ecode2 = SWIG_AsVal_int(obj1, &val2);
26461 if (!SWIG_IsOK(ecode2)) {
26462 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_lower_bound" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
26464 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
26466 result = (arg1)->lower_bound((std::map< int,int >::key_type
const &)*arg2);
26467 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::iterator &
>(result)),
26468 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26475 SWIGINTERN PyObject *_wrap_MapIntInt_upper_bound(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26476 PyObject *resultobj = 0;
26477 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26478 std::map< int,int >::key_type *arg2 = 0 ;
26481 std::map< int,int >::key_type temp2 ;
26484 PyObject * obj0 = 0 ;
26485 PyObject * obj1 = 0 ;
26486 std::map< int,int >::iterator result;
26488 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapIntInt_upper_bound",&obj0,&obj1)) SWIG_fail;
26489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, 0 | 0 );
26490 if (!SWIG_IsOK(res1)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapIntInt_upper_bound" "', argument " "1"" of type '" "std::map< int,int > *""'");
26493 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26494 ecode2 = SWIG_AsVal_int(obj1, &val2);
26495 if (!SWIG_IsOK(ecode2)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode2),
"in method '" "MapIntInt_upper_bound" "', argument " "2"" of type '" "std::map< int,int >::key_type""'");
26498 temp2 =
static_cast< std::map< int,int >::key_type
>(val2);
26500 result = (arg1)->upper_bound((std::map< int,int >::key_type
const &)*arg2);
26501 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(
static_cast< const std::map< int,int >::iterator &
>(result)),
26502 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
26509 SWIGINTERN PyObject *_wrap_delete_MapIntInt(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26510 PyObject *resultobj = 0;
26511 std::map< int,int > *arg1 = (std::map< int,int > *) 0 ;
26514 PyObject * obj0 = 0 ;
26516 if (!PyArg_ParseTuple(args,(
char *)
"O:delete_MapIntInt",&obj0)) SWIG_fail;
26517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, SWIG_POINTER_DISOWN | 0 );
26518 if (!SWIG_IsOK(res1)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "delete_MapIntInt" "', argument " "1"" of type '" "std::map< int,int > *""'");
26521 arg1 =
reinterpret_cast< std::map< int,int > *
>(argp1);
26523 resultobj = SWIG_Py_Void();
26530 SWIGINTERN PyObject *MapIntInt_swigregister(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26532 if (!PyArg_ParseTuple(args,(
char*)
"O:swigregister", &obj))
return NULL;
26533 SWIG_TypeNewClientData(SWIGTYPE_p_std__mapT_int_int_std__lessT_int_t_std__allocatorT_std__pairT_int_const_int_t_t_t, SWIG_NewClientData(obj));
26534 return SWIG_Py_Void();
26537 SWIGINTERN PyObject *_wrap_new_MapStringString__SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26538 PyObject *resultobj = 0;
26539 std::less< std::string > *arg1 = 0 ;
26542 PyObject * obj0 = 0 ;
26543 std::map< std::string,std::string > *result = 0 ;
26545 if (!PyArg_ParseTuple(args,(
char *)
"O:new_MapStringString",&obj0)) SWIG_fail;
26546 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_std__lessT_std__string_t, 0 | 0);
26547 if (!SWIG_IsOK(res1)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "new_MapStringString" "', argument " "1"" of type '" "std::less< std::string > const &""'");
26551 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "new_MapStringString" "', argument " "1"" of type '" "std::less< std::string > const &""'");
26553 arg1 =
reinterpret_cast< std::less< std::string > *
>(argp1);
26554 result = (std::map< std::string,std::string > *)
new std::map< std::string,std::string >((std::less< std::string >
const &)*arg1);
26555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, SWIG_POINTER_NEW | 0 );
26562 SWIGINTERN PyObject *_wrap_MapStringString_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26563 PyObject *resultobj = 0;
26564 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26565 PyObject **arg2 = (PyObject **) 0 ;
26568 PyObject * obj0 = 0 ;
26572 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_iterator",&obj0)) SWIG_fail;
26573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26574 if (!SWIG_IsOK(res1)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26577 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
26586 SWIGINTERN PyObject *_wrap_MapStringString___nonzero__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26587 PyObject *resultobj = 0;
26588 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26591 PyObject * obj0 = 0 ;
26594 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString___nonzero__",&obj0)) SWIG_fail;
26595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26596 if (!SWIG_IsOK(res1)) {
26597 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___nonzero__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'");
26599 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26600 result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____nonzero__((std::map< std::string,std::string >
const *)arg1);
26601 resultobj = SWIG_From_bool(static_cast< bool >(result));
26608 SWIGINTERN PyObject *_wrap_MapStringString___bool__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26609 PyObject *resultobj = 0;
26610 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26613 PyObject * obj0 = 0 ;
26616 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString___bool__",&obj0)) SWIG_fail;
26617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26618 if (!SWIG_IsOK(res1)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___bool__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'");
26621 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26622 result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____bool__((std::map< std::string,std::string >
const *)arg1);
26623 resultobj = SWIG_From_bool(static_cast< bool >(result));
26630 SWIGINTERN PyObject *_wrap_MapStringString___len__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26631 PyObject *resultobj = 0;
26632 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26635 PyObject * obj0 = 0 ;
26636 std::map< std::string,std::string >::size_type result;
26638 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString___len__",&obj0)) SWIG_fail;
26639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26640 if (!SWIG_IsOK(res1)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___len__" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'");
26643 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26644 result = std_map_Sl_std_string_Sc_std_string_Sg____len__((std::map< std::string,std::string >
const *)arg1);
26645 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
26652 SWIGINTERN PyObject *_wrap_MapStringString___getitem__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26653 PyObject *resultobj = 0;
26654 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26655 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26658 int res2 = SWIG_OLDOBJ ;
26659 PyObject * obj0 = 0 ;
26660 PyObject * obj1 = 0 ;
26661 std::map< std::string,std::string >::mapped_type *result = 0 ;
26663 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapStringString___getitem__",&obj0,&obj1)) SWIG_fail;
26664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26665 if (!SWIG_IsOK(res1)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___getitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26668 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26670 std::string *ptr = (std::string *)0;
26671 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26672 if (!SWIG_IsOK(res2)) {
26673 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString___getitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26676 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___getitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26681 result = (std::map< std::string,std::string >::mapped_type *) &std_map_Sl_std_string_Sc_std_string_Sg____getitem__(arg1,(std::string
const &)*arg2);
26683 catch(std::out_of_range &_e) {
26684 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
26687 resultobj = SWIG_From_std_string(static_cast< std::string >(*result));
26688 if (SWIG_IsNewObj(res2))
delete arg2;
26691 if (SWIG_IsNewObj(res2))
delete arg2;
26696 SWIGINTERN PyObject *_wrap_MapStringString___delitem__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26697 PyObject *resultobj = 0;
26698 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26699 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26702 int res2 = SWIG_OLDOBJ ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26706 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapStringString___delitem__",&obj0,&obj1)) SWIG_fail;
26707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26708 if (!SWIG_IsOK(res1)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___delitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26711 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26713 std::string *ptr = (std::string *)0;
26714 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26715 if (!SWIG_IsOK(res2)) {
26716 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString___delitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26719 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___delitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26724 std_map_Sl_std_string_Sc_std_string_Sg____delitem__(arg1,(std::string
const &)*arg2);
26726 catch(std::out_of_range &_e) {
26727 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
26730 resultobj = SWIG_Py_Void();
26731 if (SWIG_IsNewObj(res2))
delete arg2;
26734 if (SWIG_IsNewObj(res2))
delete arg2;
26739 SWIGINTERN PyObject *_wrap_MapStringString_has_key(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26740 PyObject *resultobj = 0;
26741 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26742 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26745 int res2 = SWIG_OLDOBJ ;
26746 PyObject * obj0 = 0 ;
26747 PyObject * obj1 = 0 ;
26750 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapStringString_has_key",&obj0,&obj1)) SWIG_fail;
26751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26752 if (!SWIG_IsOK(res1)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_has_key" "', argument " "1"" of type '" "std::map< std::string,std::string > const *""'");
26755 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26757 std::string *ptr = (std::string *)0;
26758 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26759 if (!SWIG_IsOK(res2)) {
26760 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString_has_key" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26763 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString_has_key" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26767 result = (bool)std_map_Sl_std_string_Sc_std_string_Sg__has_key((std::map< std::string,std::string >
const *)arg1,(std::string
const &)*arg2);
26768 resultobj = SWIG_From_bool(static_cast< bool >(result));
26769 if (SWIG_IsNewObj(res2))
delete arg2;
26772 if (SWIG_IsNewObj(res2))
delete arg2;
26777 SWIGINTERN PyObject *_wrap_MapStringString_keys(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26778 PyObject *resultobj = 0;
26779 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26782 PyObject * obj0 = 0 ;
26783 PyObject *result = 0 ;
26785 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_keys",&obj0)) SWIG_fail;
26786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26787 if (!SWIG_IsOK(res1)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_keys" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26790 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26791 result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__keys(arg1);
26792 resultobj = result;
26799 SWIGINTERN PyObject *_wrap_MapStringString_values(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26800 PyObject *resultobj = 0;
26801 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26804 PyObject * obj0 = 0 ;
26805 PyObject *result = 0 ;
26807 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_values",&obj0)) SWIG_fail;
26808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26809 if (!SWIG_IsOK(res1)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_values" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26812 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26813 result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__values(arg1);
26814 resultobj = result;
26821 SWIGINTERN PyObject *_wrap_MapStringString_items(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26822 PyObject *resultobj = 0;
26823 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26826 PyObject * obj0 = 0 ;
26827 PyObject *result = 0 ;
26829 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_items",&obj0)) SWIG_fail;
26830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26831 if (!SWIG_IsOK(res1)) {
26832 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_items" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26834 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26835 result = (PyObject *)std_map_Sl_std_string_Sc_std_string_Sg__items(arg1);
26836 resultobj = result;
26843 SWIGINTERN PyObject *_wrap_MapStringString___contains__(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26844 PyObject *resultobj = 0;
26845 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26846 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26849 int res2 = SWIG_OLDOBJ ;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26854 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapStringString___contains__",&obj0,&obj1)) SWIG_fail;
26855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26856 if (!SWIG_IsOK(res1)) {
26857 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___contains__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26859 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26861 std::string *ptr = (std::string *)0;
26862 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26863 if (!SWIG_IsOK(res2)) {
26864 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString___contains__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26867 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___contains__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26871 result = (bool)std_map_Sl_std_string_Sc_std_string_Sg____contains__(arg1,(std::string
const &)*arg2);
26872 resultobj = SWIG_From_bool(static_cast< bool >(result));
26873 if (SWIG_IsNewObj(res2))
delete arg2;
26876 if (SWIG_IsNewObj(res2))
delete arg2;
26881 SWIGINTERN PyObject *_wrap_MapStringString_key_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26882 PyObject *resultobj = 0;
26883 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26884 PyObject **arg2 = (PyObject **) 0 ;
26887 PyObject * obj0 = 0 ;
26891 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_key_iterator",&obj0)) SWIG_fail;
26892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26893 if (!SWIG_IsOK(res1)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_key_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26896 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26897 result = (
swig::SwigPyIterator *)std_map_Sl_std_string_Sc_std_string_Sg__key_iterator(arg1,arg2);
26898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
26905 SWIGINTERN PyObject *_wrap_MapStringString_value_iterator(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26906 PyObject *resultobj = 0;
26907 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26908 PyObject **arg2 = (PyObject **) 0 ;
26911 PyObject * obj0 = 0 ;
26915 if (!PyArg_ParseTuple(args,(
char *)
"O:MapStringString_value_iterator",&obj0)) SWIG_fail;
26916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26917 if (!SWIG_IsOK(res1)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString_value_iterator" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26920 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26921 result = (
swig::SwigPyIterator *)std_map_Sl_std_string_Sc_std_string_Sg__value_iterator(arg1,arg2);
26922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 );
26929 SWIGINTERN PyObject *_wrap_MapStringString___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26930 PyObject *resultobj = 0;
26931 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26932 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26935 int res2 = SWIG_OLDOBJ ;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26939 if (!PyArg_ParseTuple(args,(
char *)
"OO:MapStringString___setitem__",&obj0,&obj1)) SWIG_fail;
26940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26941 if (!SWIG_IsOK(res1)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___setitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26944 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26946 std::string *ptr = (std::string *)0;
26947 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26948 if (!SWIG_IsOK(res2)) {
26949 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26952 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26956 std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_0(arg1,(std::string
const &)*arg2);
26957 resultobj = SWIG_Py_Void();
26958 if (SWIG_IsNewObj(res2))
delete arg2;
26961 if (SWIG_IsNewObj(res2))
delete arg2;
26966 SWIGINTERN PyObject *_wrap_MapStringString___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(
self), PyObject *args) {
26967 PyObject *resultobj = 0;
26968 std::map< std::string,std::string > *arg1 = (std::map< std::string,std::string > *) 0 ;
26969 std::map< std::string,std::string >::key_type *arg2 = 0 ;
26970 std::map< std::string,std::string >::mapped_type *arg3 = 0 ;
26973 int res2 = SWIG_OLDOBJ ;
26974 int res3 = SWIG_OLDOBJ ;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 PyObject * obj2 = 0 ;
26979 if (!PyArg_ParseTuple(args,(
char *)
"OOO:MapStringString___setitem__",&obj0,&obj1,&obj2)) SWIG_fail;
26980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_std__allocatorT_std__pairT_std__string_const_std__string_t_t_t, 0 | 0 );
26981 if (!SWIG_IsOK(res1)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1),
"in method '" "MapStringString___setitem__" "', argument " "1"" of type '" "std::map< std::string,std::string > *""'");
26984 arg1 =
reinterpret_cast< std::map< std::string,std::string > *
>(argp1);
26986 std::string *ptr = (std::string *)0;
26987 res2 = SWIG_AsPtr_std_string(obj1, &ptr);
26988 if (!SWIG_IsOK(res2)) {
26989 SWIG_exception_fail(SWIG_ArgError(res2),
"in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26992 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "2"" of type '" "std::map< std::string,std::string >::key_type const &""'");
26997 std::string *ptr = (std::string *)0;
26998 res3 = SWIG_AsPtr_std_string(obj2, &ptr);
26999 if (!SWIG_IsOK(res3)) {
27000 SWIG_exception_fail(SWIG_ArgError(res3),
"in method '" "MapStringString___setitem__" "', argument " "3"" of type '" "std::map< std::string,std::string >::mapped_type const &""'");
27003 SWIG_exception_fail(SWIG_ValueError,
"invalid null reference " "in method '" "MapStringString___setitem__" "', argument " "3"" of type '" "std::map< std::string,std::string >::mapped_type const &""'");
27008 std_map_Sl_std_string_Sc_std_string_Sg____setitem____SWIG_1(arg1,(std::string
const &)*arg2,(std::string
const &)*arg3);
27010 catch(std::out_of_range &_e) {
27011 SWIG_exception_fail(SWIG_IndexError, (&_e)->what());
27014 resultobj = SWIG_Py_Void();
27015 if (SWIG_IsNewObj(res2))
delete arg2;
27016 if (SWIG_IsNewObj(res3))
delete arg3;
27019 if (SWIG_IsNewObj(res2))
delete arg2;
27020 if (SWIG_IsNewObj(res3))
delete arg3;
27025 SWIGINTERN PyObject *_wrap_MapStringString___setitem__(PyObject *
self, PyObject *args) {
27027 PyObject *argv[4] = {
27032 if (!PyTuple_Check(args)) SWIG_fail;
27033 argc = args ? PyObject_Length(args) : 0;
27034 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
27035 argv[ii] = PyTuple_GET_ITEM(args,ii);
27039 int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >**)(0));
27040 _v = SWIG_CheckState(res);
27042 int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
27043 _v = SWIG_CheckState(res);
27045 return _wrap_MapStringString___setitem____SWIG_0(
self, args);
27051 int res = swig::asptr(argv[0], (std::map< std::string,std::string,std::less< std::string >,std::allocator< std::pair< std::string const,std::string > > >**)(0));
27052 _v = SWIG_CheckState(res);